 |
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.
32 #define PPS_INT_MASK GPIO_PIN_8|GPIO_PIN_7|GPIO_PIN_4
static void ConfigurePPSPins(uint32_t enable)
Configure PPS timer based on DIO_INPUT_CONFIG value.
Definition: timer.c:260
void Timer_Clear_Microsecond_Timer()
Reset TIM2 counter to 0.
Definition: timer.c:123
Header file for iSensor-SPI-Buffer register interfacing module.
static TIM_HandleTypeDef htim2
Definition: timer.c:26
uint32_t g_PPSInterruptMask
Definition: timer.c:23
void Timer_Init()
Initialize all timers for operation.
Definition: timer.c:47
uint32_t g_PPSInterruptMask
Definition: timer.c:23
#define VECT_TAB_OFFSET
Definition: system_stm32f3xx.c:100
Header file for iSensor-SPI-Buffer DIO interfacing module.
volatile DIOConfig g_pinConfig
Definition: dio.c:20
static void InitTIM8()
Enables TIM8 as general 1MHz timer.
Definition: timer.c:232
volatile uint16_t g_regs[NUM_REG_PAGES *REG_PER_PAGE] __attribute__((aligned(32)))
void Timer_Increment_PPS_Time()
Increment PPS timestamp by 1.
Definition: timer.c:170
caddr_t _sbrk(int incr)
Definition: sysmem.c:38
static uint32_t PPS_MaxTickCount
Definition: timer.c:35
uint32_t Timer_Get_PPS_Timestamp()
Gets the current 32-bit value from PPS timestamp registers.
Definition: timer.c:113
void SystemInit(void)
Setup the microcontroller system.
Definition: system_stm32f3xx.c:151
Header file for iSensor-SPI-Buffer timer module.
static TIM_HandleTypeDef htim8
Definition: timer.c:29
void Timer_Disable_PPS()
Disable PPS timer functionality.
Definition: timer.c:155
static void InitTIM2(uint32_t timerfreq)
Enables IMU sample timestamp timer.
Definition: timer.c:208
void Timer_Enable_PPS()
Enable PPS input for time stamp synchronization (improved long term stability over 20ppm crystal).
Definition: timer.c:144
static void DWT_Init()
Init DWT peripheral.
Definition: timer.c:460
#define HSE_VALUE
Definition: system_stm32f3xx.c:88
void DIO_Update_Output_Config()
Validates DIO_OUTPUT_CONFIG settings and applies to GPIO.
Definition: dio.c:291
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable cont...
Definition: system_stm32f3xx.c:201
Header file for iSensor-SPI-Buffer main.
uint32_t ppsPin
Definition: dio.h:33
void Timer_Check_PPS_Unlock()
Check if the PPS signal is unlocked (greater than 1100ms since last PPS strobe)
Definition: timer.c:64
static uint32_t PPS_TickCount
Definition: timer.c:32
#define HSI_VALUE
Definition: system_stm32f3xx.c:93
#define PPS_INT_MASK
Definition: timer.h:32
uint32_t Timer_Get_Microsecond_Timestamp()
Gets the current 32-bit value from the IMU sample timestamp timer.
Definition: timer.c:103
void Timer_Sleep_Microseconds(uint32_t microseconds)
Blocking sleep function call.
Definition: timer.c:89