Type Alias d1_pac::uart::msr::DCD_R

source ·
pub type DCD_R = BitReader<DCD_A>;
Expand description

Field dcd reader - Line State of Data Carrier Detect

Aliased Type§

struct DCD_R { /* private fields */ }

Implementations§

source§

impl DCD_R

source

pub fn variant(&self) -> DCD_A

Get enumerated values variant

source

pub fn is_deasserted(&self) -> bool

Checks if the value of the field is DEASSERTED

source

pub fn is_asserted(&self) -> bool

Checks if the value of the field is ASSERTED