pub struct LPUART1 { /* private fields */ }Expand description
LPUART1 peripheral
Implementations§
Trait Implementations§
Source§impl Gate for LPUART1
impl Gate for LPUART1
type MrccPeriphConfig = LpuartConfig
Source§unsafe fn enable_clock()
unsafe fn enable_clock()
Enable the clock gate. Read more
Source§unsafe fn disable_clock()
unsafe fn disable_clock()
Disable the clock gate. Read more
Source§fn is_clock_enabled() -> bool
fn is_clock_enabled() -> bool
Return whether the clock gate for this peripheral is currently enabled.
Source§unsafe fn release_reset()
unsafe fn release_reset()
Drive the peripheral out of reset. Read more
Source§unsafe fn assert_reset()
unsafe fn assert_reset()
Drive the peripheral into reset. Read more
Source§fn is_reset_released() -> bool
fn is_reset_released() -> bool
Return whether the peripheral is currently held in reset.
Source§impl Instance for LPUART1
impl Instance for LPUART1
const CLOCK_INSTANCE: LpuartInstance = crate::clocks::periph_helpers::LpuartInstance::Lpuart1
type Interrupt = LPUART1
Source§type TxDmaRequest = Lpuart1TxRequest
type TxDmaRequest = Lpuart1TxRequest
Type-safe DMA request source for TX
Source§type RxDmaRequest = Lpuart1RxRequest
type RxDmaRequest = Lpuart1RxRequest
Type-safe DMA request source for RX
Source§impl SealedInstance for LPUART1
impl SealedInstance for LPUART1
impl Copy for LPUART1
impl PeripheralType for LPUART1
Auto Trait Implementations§
impl Freeze for LPUART1
impl RefUnwindSafe for LPUART1
impl Send for LPUART1
impl Sync for LPUART1
impl Unpin for LPUART1
impl UnwindSafe for LPUART1
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