Type Alias d1_pac::emac::emac_basic_ctl0::DUPLEX_R

source ·
pub type DUPLEX_R = BitReader<DUPLEX_A>;
Expand description

Field duplex reader - EMAC Transfer Mode

Aliased Type§

struct DUPLEX_R { /* private fields */ }

Implementations§

source§

impl DUPLEX_R

source

pub fn variant(&self) -> DUPLEX_A

Get enumerated values variant

source

pub fn is_half_duplex(&self) -> bool

Checks if the value of the field is HALF_DUPLEX

source

pub fn is_full_duplex(&self) -> bool

Checks if the value of the field is FULL_DUPLEX