iSensor-SPI-Buffer  1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
user_interrupt.h
Go to the documentation of this file.
1 
11 #ifndef INC_USER_INTERRUPT_H_
12 #define INC_USER_INTERRUPT_H_
13 
14 /* Header includes require for prototypes */
15 #include <stdint.h>
16 
17 /* Public function prototypes */
18 
19 /* @cond DOXYGEN_IGNORE */
21 void User_Interrupt_Update_Output_Pins(uint32_t interrupt, uint32_t overflow, uint32_t error);
22 /* @endcond */
23 
25 #define WATERMARK_FREQ 10000
26 
28 #define WATERMARK_HALF_PERIOD_TICKS (uint32_t) (72000000 / (WATERMARK_FREQ * 2))
29 
30 #endif /* INC_USER_INTERRUPT_H_ */
reg.h
Header file for iSensor-SPI-Buffer register interfacing module.
User_Interrupt_Update_Output_Pins
void User_Interrupt_Update_Output_Pins(uint32_t watermark, uint32_t overflow, uint32_t error)
Updates the output pins based on given interrupt/overflow status.
Definition: user_interrupt.c:105
DIOConfig::errorPins
uint32_t errorPins
Definition: dio.h:30
dio.h
Header file for iSensor-SPI-Buffer DIO interfacing module.
g_pinConfig
volatile DIOConfig g_pinConfig
Definition: dio.c:20
LED_Turn_On
void LED_Turn_On(LED light)
Turn on a selected LED.
Definition: led.c:22
User_Interrupt_Update
void User_Interrupt_Update()
Updates the user interrupt (data ready) signal status.
Definition: user_interrupt.c:25
DIOConfig::watermarkPins
uint32_t watermarkPins
Definition: dio.h:24
DIOConfig::overflowPins
uint32_t overflowPins
Definition: dio.h:27
led.h
Header file for iSensor-SPI-Buffer LED control module.
user_interrupt.h
Header file for iSensor-SPI-Buffer user interrupt (data ready) config and generation functions.
LED_Turn_Off
void LED_Turn_Off(LED light)
Turn off a selected LED.
Definition: led.c:47
WATERMARK_HALF_PERIOD_TICKS
#define WATERMARK_HALF_PERIOD_TICKS
Definition: user_interrupt.h:28