Skip to main content

pamoja_sx127x_tx_power_for_output

Function pamoja_sx127x_tx_power_for_output 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_tx_power_for_output( pa_boost: bool, output_dbm: i8, ) -> PamojaSx127xTxPower
Expand description

Returns the SX127x amplifier settings for an output power.

§Arguments

  • pa_boost - true for the PA_BOOST output, false for RFO.
  • output_dbm - the output power wanted, clamped to what the output delivers.

§Returns

The settings.