Type Alias nrf52840_pac::usbd::epouten::OUT2_W

source ·
pub type OUT2_W<'a, const O: u8> = BitWriter<'a, u32, EPOUTEN_SPEC, OUT2_A, O>;
Expand description

Field OUT2 writer - Enable OUT endpoint 2

Aliased Type§

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

Implementations§

source§

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

source

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

Disable endpoint OUT 2 (no response to OUT tokens)

source

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

Enable endpoint OUT 2 (response to OUT tokens)