Type Definition atsam4ls8b_pac::usbc::usbsta::SPEED_R

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

Field SPEED reader - Speed Status

Implementations§

source§

impl SPEED_R

source

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

Get enumerated values variant

source

pub fn is_full(&self) -> bool

Checks if the value of the field is FULL

source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH

source

pub fn is_low(&self) -> bool

Checks if the value of the field is LOW