Struct esp32c3::apb_saradc::ctrl2::CTRL2_SPEC
source · pub struct CTRL2_SPEC;
Expand description
Trait Implementations§
source§impl Readable for CTRL2_SPEC
impl Readable for CTRL2_SPEC
read()
method returns ctrl2::R reader structure
source§impl RegisterSpec for CTRL2_SPEC
impl RegisterSpec for CTRL2_SPEC
source§impl Resettable for CTRL2_SPEC
impl Resettable for CTRL2_SPEC
reset()
method sets CTRL2 to value 0xa1fe
source§const RESET_VALUE: Self::Ux = {transmute(0x0000a1fe): <apb_saradc::ctrl2::CTRL2_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x0000a1fe): <apb_saradc::ctrl2::CTRL2_SPEC as generic::RegisterSpec>::Ux}
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 CTRL2_SPEC
impl Writable for CTRL2_SPEC
write(|w| ..)
method takes ctrl2::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <apb_saradc::ctrl2::CTRL2_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <apb_saradc::ctrl2::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
source§const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <apb_saradc::ctrl2::CTRL2_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <apb_saradc::ctrl2::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