Type Alias d1_pac::uart::lcr::EPS_R

source ·
pub type EPS_R = FieldReader<u8, EPS_A>;
Expand description

Field eps reader - Even Parity Select

Aliased Type§

struct EPS_R { /* private fields */ }

Implementations§

source§

impl EPS_R

source

pub fn variant(&self) -> EPS_A

Get enumerated values variant

source

pub fn is_odd(&self) -> bool

Checks if the value of the field is ODD

source

pub fn is_even(&self) -> bool

Checks if the value of the field is EVEN

source

pub fn is_rs485_data(&self) -> bool

Checks if the value of the field is RS485_DATA

source

pub fn is_rs485_addr(&self) -> bool

Checks if the value of the field is RS485_ADDR