Type Alias atsame54n::usb::host::ctrlb::SPDCONF_W

source ·
pub type SPDCONF_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 2, O, SPDCONFSELECT_A>;
Expand description

Field SPDCONF writer - Speed Configuration for Host

Aliased Type§

struct SPDCONF_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> SPDCONF_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn normal(self) -> &'a mut W<REG>

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 fs(self) -> &'a mut W<REG>

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