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