Type Alias atsamd51n::usb::host::ctrlb::SPDCONF_R

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

Field SPDCONF reader - Speed Configuration for Host

Aliased Type§

struct SPDCONF_R { /* private fields */ }

Implementations§

source§

impl SPDCONF_R

source

pub const fn variant(&self) -> Option<SPDCONFSELECT_A>

Get enumerated values variant

source

pub fn is_normal(&self) -> bool

Normal mode: the host starts in full-speed mode and performs a high-speed reset to switch to the high speed mode if the downstream peripheral is high-speed capable.

source

pub fn is_fs(&self) -> bool

Full-speed: the host remains in full-speed mode whatever is the peripheral speed capability. Relevant in UTMI mode only.