Type Alias atsame54n::usb::host::ctrla::MODE_W

source ·
pub type MODE_W<'a, REG, const O: u8> = BitWriter<'a, REG, O, MODESELECT_A>;
Expand description

Field MODE writer - Operating Mode

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> MODE_W<'a, REG, O>
where REG: Writable + RegisterSpec,

source

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

Device Mode

source

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

Host Mode