Public Attributes
__attribute__ Struct Reference

#include <Ronex_Protocol_0x02000001_GIO_00.h>

List of all members.

Public Attributes

int16u analogue_in [12]
int16u clock_divider
int16u command_data [COMMAND_DATA_MAX_SIZE]
int16u command_data_size
int16u command_number
int16u command_type
 Will be a copy of the value sent in the Command structure.
int8u data_bytes [SPI_TRANSACTION_MAX_SIZE]
int16u digital_in
 Bit n: Status of digital pin n.
int32u digital_out
int16u first_sample_number
int16u flags
int32u flags
int16u FPI
IMPULSE_SAMPLE impulse_response [IMPULSE_RESPONSE_SIZE]
union {
   CONFIG_INFO_02000002   config_info
   STATUS_DATA_02000002   status_data
info_type
int8u inter_byte_gap
int8u num_bytes
int16u payload [PAYLOAD_MAX_SIZE]
int16u pin_output_states_post
int16u pin_output_states_pre
int16u pwm_clock_divider
RONEX_COMMAND_02000001_PWM pwm_module [NUM_PWM_MODULES]
int16u pwm_on_time_0
 On Time is pwm_on_time_0/clock_speed.
int16u pwm_on_time_1
int16u pwm_period
 PWM period is pwm_period/clock_speed.
RECEIVER_DATA receiver_data
int16u receiver_number
int16u reserved [NUM_RESERVED_WORDS]
int32u rx_frame_information
int16u sequence_number
int16u SPI_config
SPI_PACKET_OUT spi_out [NUM_SPI_OUTPUTS]
int16u std_noise
int16u timestamp_H
int32u timestamp_L

Detailed Description

The RECEIVER_DATA structure contains data from one receiver.

impulse_response[] is a subset of the 4064 sample array inside the DW1000 chip. We only send back 64 samples, starting at first_sample_number.

FPI is a 10.6 fixed point value. It is a non-integer index into the impulse response date which tells us where the first pulse appears.

Due to the large size of the data packet, only one receiver's data is sent in each EtherCAT packet. When a message arrives at the base station, data is collected from each in turn, and sent to the host in individual EtherCAT packets. Therefore it takes 4 EtherCAT packets to transmit all of the receiver data. The 4 packets will all have the same sequence_number, but a different receiver_number.

command_type: currently undecided function sequence_number: When this changes, it signals the arrival of a new message receiver_number: Which of the 4 receivers is this data from? receiver_data: Data from one receiver

Definition at line 86 of file Ronex_Protocol_0x02000001_GIO_00.h.


Member Data Documentation

Definition at line 100 of file Ronex_Protocol_0x02000001_GIO_00.h.

Definition at line 180 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 179 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 178 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 177 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Will be a copy of the value sent in the Command structure.

Definition at line 99 of file Ronex_Protocol_0x02000001_GIO_00.h.

Definition at line 232 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 184 of file Ronex_Protocol_0x02000002_SPI_00.h.

Bit n: Status of digital pin n.

Definition at line 101 of file Ronex_Protocol_0x02000001_GIO_00.h.

Bit 0: Direction of digital pin 0, 0=Output, 1=Input Bit 1: Drive of digital pin 0, 0=Low, 1=High Bit 2: Direction of digital pin 1, 0=Output, 1=Input Bit 3: Drive of digital pin 1, 0=Low, 1=High etc ..

Definition at line 111 of file Ronex_Protocol_0x02000001_GIO_00.h.

Definition at line 161 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 102 of file Ronex_Protocol_0x02000001_GIO_00.h.

Definition at line 165 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 166 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 160 of file Ronex_Protocol_0x02000003_TCAT_00.h.

union { ... } __attribute__::info_type

Definition at line 182 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 183 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 162 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 193 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 192 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 116 of file Ronex_Protocol_0x02000001_GIO_00.h.

RONEX_COMMAND_02000001_PWM __attribute__::pwm_module[NUM_PWM_MODULES]

Definition at line 110 of file Ronex_Protocol_0x02000001_GIO_00.h.

On Time is pwm_on_time_0/clock_speed.

Definition at line 89 of file Ronex_Protocol_0x02000001_GIO_00.h.

Definition at line 90 of file Ronex_Protocol_0x02000001_GIO_00.h.

PWM period is pwm_period/clock_speed.

Definition at line 88 of file Ronex_Protocol_0x02000001_GIO_00.h.

Definition at line 203 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 202 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 159 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 163 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 201 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 181 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 195 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 231 of file Ronex_Protocol_0x02000002_SPI_00.h.

Definition at line 164 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 168 of file Ronex_Protocol_0x02000003_TCAT_00.h.

Definition at line 167 of file Ronex_Protocol_0x02000003_TCAT_00.h.


The documentation for this struct was generated from the following files:


sr_ronex_external_protocol
Author(s): Ugo Cupcic, Toni Oliver, Mark Pitchless
autogenerated on Fri Aug 28 2015 13:12:14