Struct esp32s3::rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC
source · pub struct TOUCH_CTRL2_SPEC;
Expand description
configure touch controller
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see touch_ctrl2 module
Trait Implementations
sourceimpl Readable for TOUCH_CTRL2_SPEC
impl Readable for TOUCH_CTRL2_SPEC
read()
method returns touch_ctrl2::R reader structure
sourceimpl RegisterSpec for TOUCH_CTRL2_SPEC
impl RegisterSpec for TOUCH_CTRL2_SPEC
sourceimpl Resettable for TOUCH_CTRL2_SPEC
impl Resettable for TOUCH_CTRL2_SPEC
reset()
method sets TOUCH_CTRL2 to value 0x0008_40cc
sourceconst RESET_VALUE: Self::Ux = {transmute(0x000840cc): <rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x000840cc): <rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC as generic::RegisterSpec>::Ux}
Reset value of the register.
sourcefn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
sourceimpl Writable for TOUCH_CTRL2_SPEC
impl Writable for TOUCH_CTRL2_SPEC
write(|w| ..)
method takes touch_ctrl2::W writer structure
sourceconst ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
sourceconst ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <rtc_cntl::touch_ctrl2::TOUCH_CTRL2_SPEC as 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 TOUCH_CTRL2_SPEC
impl Send for TOUCH_CTRL2_SPEC
impl Sync for TOUCH_CTRL2_SPEC
impl Unpin for TOUCH_CTRL2_SPEC
impl UnwindSafe for TOUCH_CTRL2_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