micropython/stm/systick.h

8 lines
254 B
C

extern volatile uint32_t sys_tick_counter;
void sys_tick_init();
void SysTick_Handler();
void sys_tick_delay_ms(uint32_t delay_ms);
void sys_tick_wait_at_least(uint32_t stc, uint32_t delay_ms);
bool sys_tick_has_passed(uint32_t stc, uint32_t delay_ms);