Function pamoja_sx126x_frequency_word
Source #[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_frequency_word(
frequency_hz: u32,
) -> u32
Expand description
Returns the word SetRfFrequency takes for a frequency.
§Arguments
frequency_hz - the carrier frequency in hertz.
§Returns
The frequency times 2^25 over the 32 MHz crystal, rounded to the nearest step.