Type Alias atsame54n::usb::device::ctrlb::SPDCONF_W

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

Field SPDCONF writer - Speed Configuration

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

FS : Full Speed

source

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

LS : Low Speed

source

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

HS : High Speed capable

source

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

HSTM: High Speed Test Mode (force high-speed mode for test mode)