Type Definition atsam4s8c_pac::uart0::mr::PAR_R

source ·
pub type PAR_R = FieldReader<u8, PAR_A>;
Expand description

Field PAR reader - Parity Type

Implementations§

source§

impl PAR_R

source

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

Get enumerated values variant

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

source

pub fn is_space(&self) -> bool

Checks if the value of the field is SPACE

source

pub fn is_mark(&self) -> bool

Checks if the value of the field is MARK

source

pub fn is_no(&self) -> bool

Checks if the value of the field is NO