pub struct LpFlexcomm { /* private fields */ }Expand description
Low-Power Flexible Communications Interface. Raw wrapper view; UART/SPI use its base and I2C uses base+0x800. Mode register banks and burst aliases overlap physically and share FIFO resources. UART+I2C has a reduced interface; enable DMA requests and input trigger for only one of those functions. Bus and functional clocks are required; unselected function clocks are internally gated. Select clocks, pins, and a supported function externally before using a mode view; these types do not provide ownership or automatic mode selection. PSELID reset defaults are documentation, not live capability detection.
Implementations§
Source§impl LpFlexcomm
impl LpFlexcomm
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn istat(self) -> Reg<Istat, R>
pub const fn istat(self) -> Reg<Istat, R>
Interrupt Status. Read-only sources of the shared wrapper interrupt.
Sourcepub const fn pselid(self) -> Reg<Pselid, RW>
pub const fn pselid(self) -> Reg<Pselid, RW>
Peripheral Select and ID. PERSEL and LOCK are writable; presence and ID fields are read-only. LOCK prevents PERSEL writes until reset. Only selections 0/1/2/3/7 are documented; do not use reserved encodings or assume unsupported functions exist. No mode or clock transition sequence is performed by this accessor.
Trait Implementations§
Source§impl Clone for LpFlexcomm
impl Clone for LpFlexcomm
Source§fn clone(&self) -> LpFlexcomm
fn clone(&self) -> LpFlexcomm
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more