Function embassy_time::driver::allocate_alarm
source · pub unsafe fn allocate_alarm() -> Option<AlarmHandle>
Expand description
Safety: it is UB to make the alarm fire before setting a callback.
pub unsafe fn allocate_alarm() -> Option<AlarmHandle>
Safety: it is UB to make the alarm fire before setting a callback.