Skip to main content

pamoja_sx126x_timeout_steps

Function pamoja_sx126x_timeout_steps 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_timeout_steps(timeout_us: u64) -> u32
Expand description

Returns the 24-bit timeout word SetTx and SetRx take for a duration.

§Arguments

  • timeout_us - the duration in microseconds.

§Returns

The number of 15.625 us steps; a nonzero duration never becomes the zero word that disables the timeout, and nothing reaches PAMOJA_SX126X_RX_CONTINUOUS.