pub struct RtcCurrentValueSpec;Expand description
RTC current count value
You can read this register and get rtc_current_value::R. You can reset, write, write_with_zero this register using rtc_current_value::W. You can also modify this register. See API.
Trait Implementations§
impl Readable for RtcCurrentValueSpec
read() method returns rtc_current_value::R reader structure
Source§impl RegisterSpec for RtcCurrentValueSpec
impl RegisterSpec for RtcCurrentValueSpec
Source§impl Resettable for RtcCurrentValueSpec
reset() method sets RTC_CURRENT_VALUE to value 0
impl Resettable for RtcCurrentValueSpec
reset() method sets RTC_CURRENT_VALUE to value 0
Source§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for RtcCurrentValueSpec
write(|w| ..) method takes rtc_current_value::W writer structure
impl Writable for RtcCurrentValueSpec
write(|w| ..) method takes rtc_current_value::W writer structure
Source§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 0Source§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 1Auto Trait Implementations§
impl Freeze for RtcCurrentValueSpec
impl RefUnwindSafe for RtcCurrentValueSpec
impl Send for RtcCurrentValueSpec
impl Sync for RtcCurrentValueSpec
impl Unpin for RtcCurrentValueSpec
impl UnsafeUnpin for RtcCurrentValueSpec
impl UnwindSafe for RtcCurrentValueSpec
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