Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
cascoda_time.c File Reference
Include dependency graph for cascoda_time.c:

Functions

u32_t BSP_ReadAbsoluteTime (void)
 Get the number of milliseconds since program start. More...
 
void CHILI_1msTick (void)
 1 ms Tick for TMR0_IRQHandler ISR More...
 
void CHILI_FastForward (u32_t ticks)
 FastForward time by the given amount. More...
 
void BSP_WaitTicks (u32_t ticks)
 Wait for specified Time in Milliseconds. More...
 
void BSP_MicroTimerStart (void)
 start microseconds timer More...
 
u32_t BSP_MicroTimerStop (void)
 stop microseconds timer More...
 
u32_t BSP_MicroTimerGet (void)
 get microseconds timer while running More...
 

Variables

volatile u32_t AbsoluteTicks = UINT32_MAX - 5 * 60 * 1000
 

Function Documentation

◆ CHILI_1msTick()

void CHILI_1msTick ( void  )

1 ms Tick for TMR0_IRQHandler ISR

◆ CHILI_FastForward()

void CHILI_FastForward ( u32_t  ticks)

FastForward time by the given amount.

Parameters
ticks- Time in Ticks (1ms/100ms)

Variable Documentation

◆ AbsoluteTicks

volatile u32_t AbsoluteTicks = UINT32_MAX - 5 * 60 * 1000