Struct atmega_hal::pac::tc2::tcnt2::TCNT2_SPEC
source · pub struct TCNT2_SPEC;Expand description
Trait Implementations§
source§impl Readable for TCNT2_SPEC
impl Readable for TCNT2_SPEC
read() method returns tcnt2::R reader structure
source§impl RegisterSpec for TCNT2_SPEC
impl RegisterSpec for TCNT2_SPEC
source§impl Resettable for TCNT2_SPEC
impl Resettable for TCNT2_SPEC
reset() method sets TCNT2 to value 0
source§const RESET_VALUE: <TCNT2_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega2560::tc2::tcnt2::TCNT2_SPEC as avr_device::generic::RegisterSpec>::Ux}
const RESET_VALUE: <TCNT2_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega2560::tc2::tcnt2::TCNT2_SPEC as avr_device::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 TCNT2_SPEC
impl Writable for TCNT2_SPEC
write(|w| ..) method takes tcnt2::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: <TCNT2_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega2560::tc2::tcnt2::TCNT2_SPEC as avr_device::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <TCNT2_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega2560::tc2::tcnt2::TCNT2_SPEC as avr_device::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
1 and are changed if you pass 0source§const ONE_TO_MODIFY_FIELDS_BITMAP: <TCNT2_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega2560::tc2::tcnt2::TCNT2_SPEC as avr_device::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <TCNT2_SPEC as RegisterSpec>::Ux = {transmute(0x00): <avr_device::atmega2560::tc2::tcnt2::TCNT2_SPEC as avr_device::generic::RegisterSpec>::Ux}
Specifies the register bits that are not changed if you pass
0 and are changed if you pass 1