 |
iSensor-SPI-Buffer
1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
|
Go to the documentation of this file.
27 #define BUF_SIZE 0xA000
30 #define BUF_MIN_ENTRY 2
33 #define BUF_MAX_ENTRY 64
static uint32_t buf_increment
Definition: buffer.c:34
Header file for iSensor-SPI-Buffer register interfacing module.
static uint32_t buf_lastEntryIndex
Definition: buffer.c:43
static uint32_t buf_maxCount
Definition: buffer.c:40
static volatile uint32_t buf_tail
Definition: buffer.c:31
uint32_t g_bufCount
Definition: buffer.c:19
#define BUF_SIZE
Definition: buffer.h:27
#define BUF_MAX_ENTRY
Definition: buffer.h:33
uint8_t * Buffer_Add_Element()
Add an element to the buffer.
Definition: buffer.c:133
uint32_t Buffer_Can_Add_Element()
Checks if an element can be added to the buffer.
Definition: buffer.c:52
uint32_t g_bufCount
Definition: buffer.c:19
uint32_t g_bufLastRegIndex
Definition: buffer.c:16
uint32_t g_bufNumWords32
Definition: buffer.c:22
Header file for iSensor-SPI-Buffer buffer data structure module.
static volatile uint32_t buf_head
Definition: buffer.c:28
static uint32_t buf_replaceOldest
Definition: buffer.c:37
uint32_t g_bufNumWords32
Definition: buffer.c:22
static uint8_t buf[BUF_SIZE] __attribute__((aligned(32)))
uint8_t * Buffer_Take_Element()
Take a single element from the buffer.
Definition: buffer.c:81
#define BUF_MIN_ENTRY
Definition: buffer.h:30
void Buffer_Reset()
Clears the buffer data structure.
Definition: buffer.c:186
uint32_t g_bufLastRegIndex
Definition: buffer.c:16