Type Alias atsame70n21b::usbhs::devctrl::SPDCONF_R

source ·
pub type SPDCONF_R = FieldReader<SPDCONFSELECT_A>;
Expand description

Field SPDCONF reader - Mode Configuration

Aliased Type§

struct SPDCONF_R { /* private fields */ }

Implementations§

source§

impl SPDCONF_R

source

pub fn variant(&self) -> SPDCONFSELECT_A

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

source

pub fn is_low_power(&self) -> bool

Checks if the value of the field is LOW_POWER

source

pub fn is_high_speed(&self) -> bool

Checks if the value of the field is HIGH_SPEED

source

pub fn is_forced_fs(&self) -> bool

Checks if the value of the field is FORCED_FS