Type Alias avr_device::atmega2560::usart2::ucsr2c::UPM2_R
source · pub type UPM2_R = FieldReader<u8, UPM2_A>;Expand description
Field UPM2 reader - Parity Mode Bits
Aliased Type§
struct UPM2_R { /* private fields */ }Implementations§
source§impl UPM2_R
impl UPM2_R
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_parity_even(&self) -> bool
pub fn is_parity_even(&self) -> bool
Checks if the value of the field is PARITY_EVEN
sourcepub fn is_parity_odd(&self) -> bool
pub fn is_parity_odd(&self) -> bool
Checks if the value of the field is PARITY_ODD