nrf52840_pac::usbd::dtoggle

Type Alias IO_W

Source
pub type IO_W<'a, const O: u8> = BitWriter<'a, u32, DTOGGLE_SPEC, IO_A, O>;
Expand description

Field IO writer - Selects IN or OUT endpoint

Aliased Type§

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

Implementations§

Source§

impl<'a, const O: u8> IO_W<'a, O>

Source

pub fn out(self) -> &'a mut W

Selects OUT endpoint

Source

pub fn in_(self) -> &'a mut W

Selects IN endpoint