Skip to main content

frequency_bytes

Function frequency_bytes 

Source
pub const fn frequency_bytes(frequency_hz: u32) -> [u8; 3]
Expand description

Returns the three bytes written to RegFrfMsb, RegFrfMid, and RegFrfLsb for a frequency.

§Arguments

  • frequency_hz - the carrier frequency in hertz.

§Returns

The frequency word, most significant byte first.