pub struct LPSPI4 { /* private fields */ }Expand description
LPSPI4 peripheral
Implementations§
Trait Implementations§
Source§impl Gate for LPSPI4
impl Gate for LPSPI4
type MrccPeriphConfig = LpspiConfig
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§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_clock_enabled() -> bool
fn is_clock_enabled() -> bool
Return whether the clock gate for this peripheral is currently enabled.
Source§fn is_reset_released() -> bool
fn is_reset_released() -> bool
Return whether the peripheral is currently held in reset.
impl Copy for LPSPI4
impl PeripheralType for LPSPI4
Auto Trait Implementations§
impl Freeze for LPSPI4
impl RefUnwindSafe for LPSPI4
impl Send for LPSPI4
impl Sync for LPSPI4
impl Unpin for LPSPI4
impl UnwindSafe for LPSPI4
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