Struct TimstatSpec
pub struct TimstatSpec;Expand description
Timer Status Register
You can read this register and get timstat::R. You can reset, write, write_with_zero this register using timstat::W. You can also modify this register. See API.
Trait Implementations§
§impl RegisterSpec for TimstatSpec
impl RegisterSpec for TimstatSpec
§impl Resettable for TimstatSpec
reset() method sets TIMSTAT to value 0
impl Resettable for TimstatSpec
reset() method sets TIMSTAT to value 0
§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
Reset value of the register.
§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
§impl Writable for TimstatSpec
write(|w| ..) method takes timstat::W writer structure
impl Writable for TimstatSpec
write(|w| ..) method takes timstat::W writer structure
§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
1 and are
changed if you pass 0§const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
0 and are
changed if you pass 1impl Readable for TimstatSpec
read() method returns timstat::R reader structure
Auto Trait Implementations§
impl Freeze for TimstatSpec
impl RefUnwindSafe for TimstatSpec
impl Send for TimstatSpec
impl Sync for TimstatSpec
impl Unpin for TimstatSpec
impl UnwindSafe for TimstatSpec
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