Type Alias PARITY_R

Source
pub type PARITY_R = FieldReader<u8, PARITY_A>;
Expand description

Field PARITY reader - Parity-Bit Mode

Aliased Type§

pub struct PARITY_R { /* private fields */ }

Implementations§

Source§

impl PARITY_R

Source

pub fn variant(&self) -> Option<PARITY_A>

Get enumerated values variant

Source

pub fn is_none(&self) -> bool

Checks if the value of the field is NONE

Source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

Source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD