Skip to main content

pamoja_sx127x_invert_iq

Function pamoja_sx127x_invert_iq 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_sx127x_invert_iq( receive: bool, transmit: bool, ) -> u8
Expand description

Returns RegInvertIQ for the IQ polarity of each path.

§Arguments

  • receive - whether to invert the receive path.
  • transmit - whether to invert the transmit path.

§Returns

The register value, with the transmit bit set for normal IQ as the reference drivers have it.