Type Definition lpc81x_pac::lpc811::usart0::cfg::PARITYSEL_R
source · pub type PARITYSEL_R = FieldReader<u8, PARITYSEL_A>;
Expand description
Field PARITYSEL
reader - Selects what type of parity is used by the USART.
Implementations§
source§impl PARITYSEL_R
impl PARITYSEL_R
sourcepub fn variant(&self) -> Option<PARITYSEL_A>
pub fn variant(&self) -> Option<PARITYSEL_A>
Get enumerated values variant
sourcepub fn is_no_parity(&self) -> bool
pub fn is_no_parity(&self) -> bool
Checks if the value of the field is NO_PARITY
sourcepub fn is_even_parity(&self) -> bool
pub fn is_even_parity(&self) -> bool
Checks if the value of the field is EVEN_PARITY
sourcepub fn is_odd_parity(&self) -> bool
pub fn is_odd_parity(&self) -> bool
Checks if the value of the field is ODD_PARITY