Functions | |
static void | dummy_handler (void) |
int | hal_tick_get_tick_period_in_ms (void) |
void | hal_tick_init () |
void | hal_tick_set_handler (void(*handler)(void)) |
uint32_t | hal_time_ms (void) |
void | mdelay (uint32_t delay_in_ms) |
Wait for the given number of milliseconds (ticks generated by the SAM's microcontrollers's system tick). More... | |
Variables | |
static void(* | tick_handler )(void) = &dummy_handler |
|
static |
Referenced by hal_tick_set_handler().
int hal_tick_get_tick_period_in_ms | ( | void | ) |
void hal_tick_init | ( | void | ) |
References sysclk_get_cpu_hz().
void hal_tick_set_handler | ( | void(*)(void) | handler | ) |
References dummy_handler(), NULL, and tick_handler.
uint32_t hal_time_ms | ( | void | ) |
References xTaskGetTickCount().
Referenced by btstack_run_loop_freertos_get_time_ms().
void mdelay | ( | uint32_t | delay_in_ms | ) |
Wait for the given number of milliseconds (ticks generated by the SAM's microcontrollers's system tick).
ul_dly_ticks | Delay to wait for, in milliseconds. |
References btstack_run_loop_get_time_ms().
Referenced by main(), and wait_for_switches().
|
static |
Referenced by hal_tick_set_handler().