Struct Sx127xTxPower
The amplifier settings of an SX127x: RegPaConfig, RegPaDac, and RegOcp.
public readonly record struct Sx127xTxPower : IEquatable<Sx127xTxPower>
- Implements
- Inherited Members
Constructors
Sx127xTxPower(byte, byte, byte, sbyte)
The amplifier settings of an SX127x: RegPaConfig, RegPaDac, and RegOcp.
public Sx127xTxPower(byte PaConfig, byte PaDac, byte Ocp, sbyte OutputDbm)
Parameters
PaConfigbyteRegPaConfig: PaSelect, MaxPower, and OutputPower.
PaDacbyteRegPaDac: the +20 dBm setting above +17 dBm on PA_BOOST, else its reset value.
OcpbyteRegOcp: the current limit.
OutputDbmsbyteThe output power the settings produce, in dBm.
Properties
Ocp
RegOcp: the current limit.
public byte Ocp { get; init; }
Property Value
OutputDbm
The output power the settings produce, in dBm.
public sbyte OutputDbm { get; init; }
Property Value
PaConfig
RegPaConfig: PaSelect, MaxPower, and OutputPower.
public byte PaConfig { get; init; }
Property Value
PaDac
RegPaDac: the +20 dBm setting above +17 dBm on PA_BOOST, else its reset value.
public byte PaDac { get; init; }