Struct atmega_hal::pac::usart2::ubrr2::UBRR2_SPEC
source · pub struct UBRR2_SPEC;Expand description
Trait Implementations§
source§impl Readable for UBRR2_SPEC
impl Readable for UBRR2_SPEC
read() method returns ubrr2::R reader structure
source§impl RegisterSpec for UBRR2_SPEC
impl RegisterSpec for UBRR2_SPEC
source§impl Resettable for UBRR2_SPEC
impl Resettable for UBRR2_SPEC
reset() method sets UBRR2 to value 0
source§const RESET_VALUE: <UBRR2_SPEC as RegisterSpec>::Ux = {transmute(0x0000): <avr_device::atmega2560::usart2::ubrr2::UBRR2_SPEC as avr_device::generic::RegisterSpec>::Ux}
const RESET_VALUE: <UBRR2_SPEC as RegisterSpec>::Ux = {transmute(0x0000): <avr_device::atmega2560::usart2::ubrr2::UBRR2_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 UBRR2_SPEC
impl Writable for UBRR2_SPEC
write(|w| ..) method takes ubrr2::W writer structure
source§const ZERO_TO_MODIFY_FIELDS_BITMAP: <UBRR2_SPEC as RegisterSpec>::Ux = {transmute(0x0000): <avr_device::atmega2560::usart2::ubrr2::UBRR2_SPEC as avr_device::generic::RegisterSpec>::Ux}
const ZERO_TO_MODIFY_FIELDS_BITMAP: <UBRR2_SPEC as RegisterSpec>::Ux = {transmute(0x0000): <avr_device::atmega2560::usart2::ubrr2::UBRR2_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: <UBRR2_SPEC as RegisterSpec>::Ux = {transmute(0x0000): <avr_device::atmega2560::usart2::ubrr2::UBRR2_SPEC as avr_device::generic::RegisterSpec>::Ux}
const ONE_TO_MODIFY_FIELDS_BITMAP: <UBRR2_SPEC as RegisterSpec>::Ux = {transmute(0x0000): <avr_device::atmega2560::usart2::ubrr2::UBRR2_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