#[repr(C)]pub struct PamojaSx126xBoard {
pub high_power: bool,
pub tcxo: bool,
pub tcxo_voltage: u8,
pub dio2_rf_switch: bool,
pub dc_dc: bool,
pub llcc68: bool,
pub tcxo_settle_us: u32,
}Expand description
How a module wires its SX126x.
The SPI interface cannot see the parts around the chip, so these come from the module’s schematic or its maker’s example code.
Fields§
§high_power: booltrue for the high power amplifier of the SX1262, SX1268, and LLCC68, false for the
SX1261’s low power amplifier.
tcxo: booltrue when a TCXO powered from DIO3 clocks the chip instead of a crystal.
tcxo_voltage: u8The TCXO supply voltage as SetDIO3AsTCXOCtrl takes it: 0 for 1.6 V, 1 for 1.7 V, 2 for 1.8 V, 3 for 2.2 V, 4 for 2.4 V, 5 for 2.7 V, 6 for 3.0 V, and 7 for 3.3 V.
dio2_rf_switch: booltrue when DIO2 drives the antenna switch.
dc_dc: booltrue when the module fits the inductor the DC-DC regulator needs.
llcc68: booltrue for an LLCC68, which is held to the rates it supports.
tcxo_settle_us: u32How long the TCXO takes to settle, in microseconds.
Trait Implementations§
Source§impl Clone for PamojaSx126xBoard
impl Clone for PamojaSx126xBoard
Source§fn clone(&self) -> PamojaSx126xBoard
fn clone(&self) -> PamojaSx126xBoard
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 PamojaSx126xBoard
Source§impl Debug for PamojaSx126xBoard
impl Debug for PamojaSx126xBoard
Source§impl Default for PamojaSx126xBoard
impl Default for PamojaSx126xBoard
Source§fn default() -> PamojaSx126xBoard
fn default() -> PamojaSx126xBoard
Returns the “default value” for a type. Read more
impl Eq for PamojaSx126xBoard
Source§impl PartialEq for PamojaSx126xBoard
impl PartialEq for PamojaSx126xBoard
impl StructuralPartialEq for PamojaSx126xBoard
Auto Trait Implementations§
impl Freeze for PamojaSx126xBoard
impl RefUnwindSafe for PamojaSx126xBoard
impl Send for PamojaSx126xBoard
impl Sync for PamojaSx126xBoard
impl Unpin for PamojaSx126xBoard
impl UnsafeUnpin for PamojaSx126xBoard
impl UnwindSafe for PamojaSx126xBoard
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