Type Alias d1_pac::emac::emac_basic_ctl0::SPEED_R

source ·
pub type SPEED_R = FieldReader<u8, SPEED_A>;
Expand description

Field speed reader - EMAC Working Speed

Aliased Type§

struct SPEED_R { /* private fields */ }

Implementations§

source§

impl SPEED_R

source

pub fn variant(&self) -> SPEED_A

Get enumerated values variant

source

pub fn is_s1000(&self) -> bool

Checks if the value of the field is S1000

source

pub fn is_s10(&self) -> bool

Checks if the value of the field is S10

source

pub fn is_s100(&self) -> bool

Checks if the value of the field is S100