Table of Contents

Struct Sx127xTxPower

Namespace
Pamoja.Radios
Assembly
Pamoja.Radios.dll

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

PaConfig byte

RegPaConfig: PaSelect, MaxPower, and OutputPower.

PaDac byte

RegPaDac: the +20 dBm setting above +17 dBm on PA_BOOST, else its reset value.

Ocp byte

RegOcp: the current limit.

OutputDbm sbyte

The output power the settings produce, in dBm.

Properties

Ocp

RegOcp: the current limit.

public byte Ocp { get; init; }

Property Value

byte

OutputDbm

The output power the settings produce, in dBm.

public sbyte OutputDbm { get; init; }

Property Value

sbyte

PaConfig

RegPaConfig: PaSelect, MaxPower, and OutputPower.

public byte PaConfig { get; init; }

Property Value

byte

PaDac

RegPaDac: the +20 dBm setting above +17 dBm on PA_BOOST, else its reset value.

public byte PaDac { get; init; }

Property Value

byte