[−][src]Function mynewt::kernel::os::os_dev_suspend_all
pub unsafe extern "C" fn os_dev_suspend_all(arg1: os_time_t, arg2: u8) -> c_int
Suspend all devices.
suspend_t
: The number of ticks to suspend this device forforce
: Whether or not to force suspending the device
Return: 0 on success, or a non-zero error code if one of the devices returned it.