iSensor-SPI-Buffer  1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
Macros | Variables
buffer.h File Reference

Header file for iSensor-SPI-Buffer buffer data structure module. More...

#include <stdint.h>
Include dependency graph for buffer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BUF_SIZE   0xA000
 
#define BUF_MIN_ENTRY   2
 
#define BUF_MAX_ENTRY   64
 

Variables

uint32_t g_bufLastRegIndex
 
uint32_t g_bufCount
 
uint32_t g_bufNumWords32
 

Detailed Description

Header file for iSensor-SPI-Buffer buffer data structure module.

Copyright (c) Analog Devices Inc, 2020 All Rights Reserved.

Date
3/19/2020
Author
A. Nolan (alex..nosp@m.nola.nosp@m.n@ana.nosp@m.log..nosp@m.com)

Macro Definition Documentation

◆ BUF_MAX_ENTRY

#define BUF_MAX_ENTRY   64

Largest buffer data entry size. Real size is +10 bytes

◆ BUF_MIN_ENTRY

#define BUF_MIN_ENTRY   2

Smallest buffer data entry size. Real size is +10 bytes

◆ BUF_SIZE

#define BUF_SIZE   0xA000

Buffer memory allocation

Variable Documentation

◆ g_bufCount

uint32_t g_bufCount
extern

Number of elements currently stored in the buffer. Global scope

◆ g_bufLastRegIndex

uint32_t g_bufLastRegIndex
extern

Index for the last buffer output register. This is based on buffer size. Global scope

◆ g_bufNumWords32

uint32_t g_bufNumWords32
extern

Number of 32-bit words per buffer entry. Global scope