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