Skip to main content

tx_clamp

Function tx_clamp 

Source
pub const fn tx_clamp(current: u8) -> u8
Expand description

Returns the TX clamp register value that resists antenna mismatch, from section 15.2.

Bits 4 to 1 are set, which the datasheet asks of the SX1262 after a power on reset or a cold wake.

§Arguments

  • current - the register value read back from the chip.

§Returns

The value to write.