pub struct Lptmr { /* private fields */ }Expand description
LPTMR.
Implementations§
Source§impl Lptmr
impl Lptmr
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn csr(self) -> Reg<Csr, RW>
pub const fn csr(self) -> Reg<Csr, RW>
Control Status. TCF is write-one-to-clear; clear it before enabling interrupt or DMA requests. Change CSR[5:1] only while disabled, and do not alter them when enabling TEN. Disabling TEN resets the counter and TCF.
Sourcepub const fn psr(self) -> Reg<Psr, RW>
pub const fn psr(self) -> Reg<Psr, RW>
Prescaler and Glitch Filter. Modify these fields only while LPTMR is disabled. Clock selections are ordinal inputs; chip-specific clock connections are not defined here.
Trait Implementations§
impl Copy for Lptmr
impl Eq for Lptmr
impl Send for Lptmr
impl StructuralPartialEq for Lptmr
impl Sync for Lptmr
Auto Trait Implementations§
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