#[repr(C)]pub struct PamojaSx126xTxPower {
pub pa_duty_cycle: u8,
pub hp_max: u8,
pub device_sel: u8,
pub pa_lut: u8,
pub setting_dbm: i8,
}Expand description
The amplifier configuration and power setting that produce an output power, from Table 13-21 of the SX1261/2 datasheet.
Fields§
§pa_duty_cycle: u8paDutyCycle, the conduction angle of the amplifier.
hp_max: u8hpMax, the size of the SX1262 amplifier; no effect on the SX1261.
device_sel: u8deviceSel: 0 for the SX1262 and the LLCC68, 1 for the SX1261.
pa_lut: u8paLut, reserved and always 1.
setting_dbm: i8The power byte of SetTxParams, in dBm.
Trait Implementations§
Source§impl Clone for PamojaSx126xTxPower
impl Clone for PamojaSx126xTxPower
Source§fn clone(&self) -> PamojaSx126xTxPower
fn clone(&self) -> PamojaSx126xTxPower
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamojaSx126xTxPower
Source§impl Debug for PamojaSx126xTxPower
impl Debug for PamojaSx126xTxPower
impl Eq for PamojaSx126xTxPower
Source§impl PartialEq for PamojaSx126xTxPower
impl PartialEq for PamojaSx126xTxPower
impl StructuralPartialEq for PamojaSx126xTxPower
Auto Trait Implementations§
impl Freeze for PamojaSx126xTxPower
impl RefUnwindSafe for PamojaSx126xTxPower
impl Send for PamojaSx126xTxPower
impl Sync for PamojaSx126xTxPower
impl Unpin for PamojaSx126xTxPower
impl UnsafeUnpin for PamojaSx126xTxPower
impl UnwindSafe for PamojaSx126xTxPower
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