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

Header file for iSensor-SPI-Buffer main. More...

#include "stm32f3xx_hal.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STATE_CHECK_FLAGS   0
 
#define STATE_CHECK_PPS   1
 
#define STATE_READ_ADC   2
 
#define STATE_CHECK_USB   3
 
#define STATE_CHECK_STREAM   4
 
#define STATE_STEP_SCRIPT   5
 

Enumerations

enum  bool { false = 0, true = 1 }
 

Variables

DMA_HandleTypeDef g_dma_spi1_rx
 
DMA_HandleTypeDef g_dma_spi1_tx
 
DMA_HandleTypeDef g_dma_spi2_tx
 
SPI_HandleTypeDef g_spi1
 
SPI_HandleTypeDef g_spi2
 

Detailed Description

Header file for iSensor-SPI-Buffer main.

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

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

Macro Definition Documentation

◆ STATE_CHECK_FLAGS

#define STATE_CHECK_FLAGS   0

Check for any update flags set for deferred processing

◆ STATE_CHECK_PPS

#define STATE_CHECK_PPS   1

Check that PPS isn't unlocked

◆ STATE_CHECK_STREAM

#define STATE_CHECK_STREAM   4

Check stream status for CLI (SD and USB)

◆ STATE_CHECK_USB

#define STATE_CHECK_USB   3

Handle any USB command line Rx activity

◆ STATE_READ_ADC

#define STATE_READ_ADC   2

Update ADC state machine

◆ STATE_STEP_SCRIPT

#define STATE_STEP_SCRIPT   5

Step running SD script (if any)

Enumeration Type Documentation

◆ bool

enum bool

Bool data type

Variable Documentation

◆ g_dma_spi1_rx

DMA_HandleTypeDef g_dma_spi1_rx
extern

IMU SPI Rx DMA handle. Global scope

◆ g_dma_spi1_tx

DMA_HandleTypeDef g_dma_spi1_tx
extern

IMU SPI Tx DMA handle. Global scope

◆ g_dma_spi2_tx

DMA_HandleTypeDef g_dma_spi2_tx
extern

User SPI Tx DMA handle. Global scope

◆ g_spi1

SPI_HandleTypeDef g_spi1
extern

SPI handle for IMU master port. Global scope

◆ g_spi2

SPI_HandleTypeDef g_spi2
extern

SPI handle for slave port (from master controller). Global scope