[−][src]Function mynewt::kernel::os::os_cputime_timer_init
pub unsafe extern "C" fn os_cputime_timer_init(
timer: *mut hal_timer,
fp: hal_timer_cb,
arg: *mut c_void
)
Initialize a CPU timer, using the given HAL timer.
timer
: The timer to initialize. Cannot be NULL.fp
: The timer callback function. Cannot be NULL.arg
: Pointer to data object to pass to timer.