 |
ADI iSensor FX3 Firmware
v2.9.4-pub
Firmware for the Analog Devices EVAL-ADIS-FX3 IMU Evaluation Platform. This firmware can be compiled using the Cypress EZ USB Suite IDE
|
Go to the documentation of this file.
19 #ifndef STREAM_THREAD_H
20 #define STREAM_THREAD_H
29 #define STREAMTHREAD_STACK (0x0800)
32 #define STREAMTHREAD_PRIORITY (8)
#define ADI_RT_STREAM_ENABLE
Definition: AppThread.h:51
static CyU3PReturnStatus_t AdiBurstStreamWork()
This is the worker function for the burst stream.
Definition: StreamThread.c:455
CyBool_t DrActive
Definition: main.h:171
#define ADI_TRANSFER_STREAM_ENABLE
Definition: AppThread.h:87
uint8_t * RegList
Definition: main.h:236
static CyU3PReturnStatus_t AdiI2CStreamWork()
This is the worker function for the I2C read stream.
Definition: StreamThread.c:124
volatile CyBool_t KillStreamEarly
Definition: main.c:119
#define ADI_BURST_STREAM_DONE
Definition: AppThread.h:72
CyU3PDmaChannel MemoryToSPI
Definition: main.c:79
#define ADI_TRANSFER_STREAM_DONE
Definition: AppThread.h:84
#define ADI_I2C_STREAM_ENABLE
Definition: AppThread.h:99
void AdiSpiTransferWord(uint8_t *txBuf, uint8_t *rxBuf)
Bi-directional SPI transfer function, in register mode. Optimized for speed.
Definition: SpiFunctions.c:120
CyU3PEvent EventHandler
Definition: main.c:60
#define ADI_I2C_STREAM_DONE
Definition: AppThread.h:96
Struct to store the current data stream state information.
Definition: main.h:204
uint32_t NumCaptures
Definition: main.h:227
uint32_t NumBuffers
Definition: main.h:230
static CyU3PReturnStatus_t AdiTransferStreamWork()
This is the worker function for the transfer stream.
Definition: StreamThread.c:559
void AdiStreamThreadEntry(uint32_t input)
The entry point function for the StreamThread. Handles all streaming data captures.
Definition: StreamThread.c:47
uint32_t BytesPerFrame
Definition: main.h:206
uint16_t BytesPerBuffer
Definition: main.h:233
Struct to store the current board state (SPI config, USB speed, etc)
Definition: main.h:148
#define UNUSED(x)
Definition: main.h:447
CyU3PDmaChannel StreamingChannel
Definition: main.c:70
void AdiStreamThreadEntry(uint32_t input)
The entry point function for the StreamThread. Handles all streaming data captures.
Definition: StreamThread.c:47
CyU3PI2cPreamble_t I2CStreamPreamble
Definition: main.h:242
#define ADI_GENERIC_STREAM_DONE
Definition: AppThread.h:60
StreamState StreamThreadState
Definition: main.c:122
uint16_t DrPin
Definition: main.h:168
@ StreamThread_c
Definition: ErrorLog.h:48
uint16_t UsbBufferSize
Definition: main.h:156
static CyU3PReturnStatus_t AdiGenericStreamWork()
This is the worker function for the generic stream.
Definition: StreamThread.c:181
Main header file for the Analog Devices iSensor FX3 Demonstration Platform firmware.
#define ADI_RT_STREAM_DONE
Definition: AppThread.h:48
uint32_t TransferByteLength
Definition: main.h:221
BoardState FX3State
Definition: main.c:112
#define ADI_TIMER_PIN_INDEX
Definition: main.h:381
#define ADI_BURST_STREAM_ENABLE
Definition: AppThread.h:75
#define ADI_GENERIC_STREAM_ENABLE
Definition: AppThread.h:63
Header file for the streaming thread.
CyU3PDmaBuffer_t SpiDmaBuffer
Definition: main.c:95
static CyU3PReturnStatus_t AdiRealTimeStreamWork()
This is the worker function for the ADcmXL real time stream.
Definition: StreamThread.c:368
uint32_t NumRealTimeCaptures
Definition: main.h:215
void AdiLogError(FileIdentifier File, uint32_t Line, uint32_t ErrorCode)
Logs a firmware error to flash memory for later examination.
Definition: ErrorLog.c:51
uint16_t BytesPerUsbPacket
Definition: main.h:239