pub struct SPT { /* private fields */ }Expand description
Simple Periodic Timer
Implementations§
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn ms_cnt_value(&self) -> &Reg<MS_CNT_VALUE_SPEC>
pub fn ms_cnt_value(&self) -> &Reg<MS_CNT_VALUE_SPEC>
0x38 - Return the Value of the 1mS counter which is generating the 1mS event. It is an downcount counter. Default is 0x40 (65-1). For 32KHz input, the resoultion is ~15uS. For 16KHz input, the resoultion is ~30uS
Sourcepub fn event_cnt_value(&self) -> &Reg<EVENT_CNT_VALUE_SPEC>
pub fn event_cnt_value(&self) -> &Reg<EVENT_CNT_VALUE_SPEC>
0x38 - Return the Value of the Event counter generating FFE Time out event It is an upcount counter, in 1mS resoultion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SPT
impl RefUnwindSafe for SPT
impl !Sync for SPT
impl Unpin for SPT
impl UnwindSafe for SPT
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