27 #define DIS_INT __disable_irq();    30 #define EN_INT __enable_irq();    37 #define SOFT_RESET  soft_reset()    40 #define TICK_BIT_OFFSET 16 uint64_t get_tick()
Gets tick value in amount to system tick (72 MHz). 
Definition: app_common.c:60
 
uint32_t get_tick32()
Gets tick value in amount to system tick (72 MHz) in 32bit. 
Definition: app_common.c:70
 
void delay_us(uint16_t micros)
Imprecise blocking delay in microseconds. 
Definition: app_common.c:54
 
void soft_reset()
Wrapper function to provide software reset. 
Definition: app_common.c:112
 
uint32_t get_tick32_div(uint8_t div)
Gets 32 bit tick shifted down by an amount. 
Definition: app_common.c:81
 
void copy_until_same(void *dest, void *src, size_t size)
Copies and compares data until copied data matches. 
Definition: app_common.c:103