#include <Ronex_Protocol_0x02000001_GIO_00.h>
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.
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.
RECEIVER_DATA __attribute__::receiver_data |
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.
SPI_PACKET_OUT __attribute__::spi_out[NUM_SPI_OUTPUTS] |
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.