pub struct CNTR_SPEC;
Expand description
Trait Implementations§
source§impl Resettable for CNTR_SPEC
impl Resettable for CNTR_SPEC
reset()
method sets CNTR to value 0x03
source§const RESET_VALUE: Self::Ux = {transmute(0x0003): <ch32v30x::usb::cntr::CNTR_SPEC as generic::RegisterSpec>::Ux}
const RESET_VALUE: Self::Ux = {transmute(0x0003): <ch32v30x::usb::cntr::CNTR_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 CNTR_SPEC
impl Writable for CNTR_SPEC
write(|w| ..)
method takes cntr::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x0000): <ch32v30x::usb::cntr::CNTR_SPEC as generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x0000): <ch32v30x::usb::cntr::CNTR_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(0x0000): <ch32v30x::usb::cntr::CNTR_SPEC as generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = {transmute(0x0000): <ch32v30x::usb::cntr::CNTR_SPEC as generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1