Skip to main content

pamoja_sx126x_image_calibration

Function pamoja_sx126x_image_calibration 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx126x_image_calibration( low_hz: u32, high_hz: u32, ) -> u16
Expand description

Returns the two CalibrateImage codes that cover a band.

§Arguments

  • low_hz - the lower edge of the band in hertz.
  • high_hz - the upper edge of the band in hertz.

§Returns

freq1 in the high byte and freq2 in the low byte.