#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_radio_duty_cycle_wait_us(
guard: *const PamojaRadioDutyCycle,
now_us: u64,
) -> u64Expand description
Returns how long the radio must still stay silent.
§Arguments
guard- the duty-cycle guard.now_us- the current time in microseconds on the caller’s clock.
§Returns
The remaining silence in microseconds, zero when a transmission may start, or
UINT64_MAX when the limit forbids transmitting or guard is null.
§Safety
guard must be a live handle from pamoja_radio_duty_cycle_new, or null.