[−][src]Function mynewt::kernel::os::os_time_ticks_to_ms
pub unsafe extern "C" fn os_time_ticks_to_ms(
ticks: os_time_t,
out_ms: *mut u32
) -> c_int
Converts OS ticks to milliseconds.
ticks
: The OS ticks input.out_ms
: The milliseconds output.
Return: 0 on success; OS_EINVAL if the result is too large to fit in a uint32_t.