os_error_t dpl_error_t
dpl error type
 
static void dpl_time_delay(dpl_time_t ticks)
Wait until the number of ticks has elapsed, BLOICKING.
 
static dpl_time_t dpl_time_get(void)
Returns the low 32 bits of cputime.
 
static dpl_error_t dpl_time_ms_to_ticks(uint32_t ms, dpl_time_t *out_ticks)
Converts the given number of milliseconds into cputime ticks.
 
static dpl_time_t dpl_time_ticks_to_ms32(dpl_time_t ticks)
Convert the given number of ticks into milliseconds.
 
static dpl_time_t dpl_time_ms_to_ticks32(uint32_t ms)
Converts the given number of milliseconds into cputime ticks.
 
static dpl_error_t dpl_time_ticks_to_ms(dpl_time_t ticks, uint32_t *out_ms)
Convert the given number of ticks into milliseconds.
 
os_time_t dpl_time_t
dpl time type
 
mynewt-core time abstraction
 
static os_time_t os_time_ms_to_ticks32(uint32_t ms)
Converts the given number of milliseconds into cputime ticks.
 
static os_time_t os_time_get(void)
Returns the low 32 bits of cputime.
 
static void os_time_delay(os_time_t ticks)
Wait until the number of ticks has elapsed, BLOICKING.
 
static os_time_t os_time_ticks_to_ms32(os_time_t ticks)
Convert the given number of ticks into milliseconds.
 
static os_error_t os_time_ticks_to_ms(os_time_t ticks, uint32_t *out_ms)
Convert the given number of ticks into milliseconds.
 
static os_error_t os_time_ms_to_ticks(uint32_t ms, os_time_t *out_ticks)
Converts the given number of milliseconds into cputime ticks.