[][src]Function mynewt::kernel::os::os_cputime_ticks_to_nsecs

pub unsafe extern "C" fn os_cputime_ticks_to_nsecs(ticks: u32) -> u32

Convert the given number of ticks into nanoseconds. Not defined if OS_CPUTIME_FREQ_PWR2 is defined.

Return: uint32_t The number of nanoseconds corresponding to 'ticks'