Struct esp32c2_hal::pac::rtc_cntl::timer2::TIMER2_SPEC
pub struct TIMER2_SPEC;
Expand description
Trait Implementations
impl Readable for TIMER2_SPEC
impl Readable for TIMER2_SPEC
read()
method returns timer2::R reader structure
impl RegisterSpec for TIMER2_SPEC
impl RegisterSpec for TIMER2_SPEC
impl Resettable for TIMER2_SPEC
impl Resettable for TIMER2_SPEC
reset()
method sets TIMER2 to value 0x0100_0000
const RESET_VALUE: <TIMER2_SPEC as RegisterSpec>::Ux = {transmute(0x01000000): <esp_hal_common::esp32c2::rtc_cntl::timer2::TIMER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const RESET_VALUE: <TIMER2_SPEC as RegisterSpec>::Ux = {transmute(0x01000000): <esp_hal_common::esp32c2::rtc_cntl::timer2::TIMER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
Reset value of the register.
fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
impl Writable for TIMER2_SPEC
impl Writable for TIMER2_SPEC
write(|w| ..)
method takes timer2::W writer structure
const ZERO_TO_MODIFY_FIELDS_BITMAP: <TIMER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::rtc_cntl::timer2::TIMER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <TIMER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::rtc_cntl::timer2::TIMER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
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: <TIMER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::rtc_cntl::timer2::TIMER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <TIMER2_SPEC as RegisterSpec>::Ux = {transmute(0x00000000): <esp_hal_common::esp32c2::rtc_cntl::timer2::TIMER2_SPEC as esp_hal_common::esp32c2::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
Auto Trait Implementations
impl RefUnwindSafe for TIMER2_SPEC
impl Send for TIMER2_SPEC
impl Sync for TIMER2_SPEC
impl Unpin for TIMER2_SPEC
impl UnwindSafe for TIMER2_SPEC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more