12 fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, #c); \
63 puts(
"sleep_math: all tests passed");
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
*brief create JSON pointer *sa reference_tokens const string_t & a
uint32_t sleep_elapsed_ms(uint32_t from_steps, uint32_t to_steps, uint32_t lsi_hz)
uint32_t sleep_lsi_hz(uint32_t steps, uint32_t us)
uint32_t sleep_rtc_steps(uint8_t hours, uint8_t minutes, uint8_t seconds, uint32_t ssr)
uint16_t sleep_wut_reload(uint32_t ms, uint32_t lsi_hz)
static void test_wut_reload(void)
static void test_lsi_measurement(void)
static void test_rtc_steps_count_down_subseconds(void)
static void test_elapsed(void)