Struct ch32v3::ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_SPEC
source · pub struct SAMPTR2_CHARGE2_SPEC;
Expand description
sample time register 2
This register you can read
, write_with_zero
, reset
, write
, modify
. See API.
For information about available fields see samptr2_charge2 module
Trait Implementations§
source§impl Readable for SAMPTR2_CHARGE2_SPEC
impl Readable for SAMPTR2_CHARGE2_SPEC
read()
method returns samptr2_charge2::R reader structure
source§impl RegisterSpec for SAMPTR2_CHARGE2_SPEC
impl RegisterSpec for SAMPTR2_CHARGE2_SPEC
source§impl Resettable for SAMPTR2_CHARGE2_SPEC
impl Resettable for SAMPTR2_CHARGE2_SPEC
reset()
method sets SAMPTR2_CHARGE2 to value 0
source§const RESET_VALUE: Self::Ux = {transmute(0x00000000): <ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x00000000): <ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_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 SAMPTR2_CHARGE2_SPEC
impl Writable for SAMPTR2_CHARGE2_SPEC
write(|w| ..)
method takes samptr2_charge2::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_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): <ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x00000000): <ch32v30x::adc1::samptr2_charge2::SAMPTR2_CHARGE2_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1