Type Alias nrf52840_pac::usbd::dtoggle::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