Skip to main content

pamoja_sx127x_frequency_word

Function pamoja_sx127x_frequency_word 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_frequency_word( frequency_hz: u32, ) -> u32
Expand description

Returns the 24-bit RegFrf word an SX127x takes for a frequency.

§Arguments

  • frequency_hz - the carrier frequency in hertz.

§Returns

The word, in steps of 32 MHz over 2^19, rounded to the nearest step.