pub struct PaConfig {
pub duty_cycle: u8,
pub hp_max: u8,
pub device: u8,
pub lut: u8,
}Expand description
The parameters of a SetPaConfig command, from Table 13-20.
Fields§
§duty_cycle: u8The duty cycle, or conduction angle, of the amplifier.
hp_max: u8The size of the SX1262’s amplifier, 0x00 to 0x07; no effect on the SX1261.
device: u8The device: 0 for the SX1262, 1 for the SX1261.
lut: u8Reserved, always 0x01.
Implementations§
Source§impl PaConfig
impl PaConfig
Sourcepub const SX1262_22_DBM: PaConfig
pub const SX1262_22_DBM: PaConfig
The SX1262 at +22 dBm, from Table 13-21.
Sourcepub const SX1262_20_DBM: PaConfig
pub const SX1262_20_DBM: PaConfig
The SX1262 at +20 dBm, from Table 13-21.
Sourcepub const SX1262_17_DBM: PaConfig
pub const SX1262_17_DBM: PaConfig
The SX1262 at +17 dBm, from Table 13-21.
Sourcepub const SX1262_14_DBM: PaConfig
pub const SX1262_14_DBM: PaConfig
The SX1262 at +14 dBm, from Table 13-21.
Sourcepub const SX1261_15_DBM: PaConfig
pub const SX1261_15_DBM: PaConfig
The SX1261 at +15 dBm, from Table 13-21.
Sourcepub const SX1261_14_DBM: PaConfig
pub const SX1261_14_DBM: PaConfig
The SX1261 at +14 dBm, from Table 13-21.
Sourcepub const SX1261_10_DBM: PaConfig
pub const SX1261_10_DBM: PaConfig
The SX1261 at +10 dBm, from Table 13-21.
Trait Implementations§
impl Copy for PaConfig
impl Eq for PaConfig
impl StructuralPartialEq for PaConfig
Auto Trait Implementations§
impl Freeze for PaConfig
impl RefUnwindSafe for PaConfig
impl Send for PaConfig
impl Sync for PaConfig
impl Unpin for PaConfig
impl UnsafeUnpin for PaConfig
impl UnwindSafe for PaConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more