#include <stdint.h>
Functions | |
int | hal_tick_get_tick_period_in_ms (void) |
void | hal_tick_init (void) |
void | hal_tick_set_handler (void(*tick_handler)(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... | |
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) | tick_handler | ) |
References dummy_handler(), NULL, and tick_handler.
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().