iSensor-SPI-Buffer  1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
Functions
user_interrupt.c File Reference

iSensor-SPI-Buffer user interrupt (data ready) config and generation functions More...

#include "reg.h"
#include "user_interrupt.h"
#include "dio.h"
#include "led.h"
Include dependency graph for user_interrupt.c:

Functions

void User_Interrupt_Update ()
 Updates the user interrupt (data ready) signal status. More...
 
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. More...
 

Detailed Description

iSensor-SPI-Buffer user interrupt (data ready) config and generation functions

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

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

Function Documentation

◆ User_Interrupt_Update()

void User_Interrupt_Update ( )

Updates the user interrupt (data ready) signal status.

Returns
void

This function is called periodically from the main loop. It clears or sets the selected interrupt and overflow notification pins (DIOx_Slave) and also updates the STATUS register flags

◆ 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.

Parameters
watermarkThe buffer water mark interrupt status
overflowThe buffer overflow interrupt status
errorThe buffer error interrupt status
Returns
void