Skip to main content

pamoja_radio_duty_cycle_earliest_us

Function pamoja_radio_duty_cycle_earliest_us 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_radio_duty_cycle_earliest_us( guard: *const PamojaRadioDutyCycle, ) -> u64
Expand description

Returns the earliest time the next transmission may start.

§Arguments

  • guard - the duty-cycle guard.

§Returns

A time in microseconds on the caller’s clock, 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.