nrf52840_pac::usbd::epinen

Type Alias IN1_W

Source
pub type IN1_W<'a, const O: u8> = BitWriter<'a, u32, EPINEN_SPEC, IN1_A, O>;
Expand description

Field IN1 writer - Enable IN endpoint 1

Aliased Type§

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

Implementations§

Source§

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

Source

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

Disable endpoint IN 1 (no response to IN tokens)

Source

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

Enable endpoint IN 1 (response to IN tokens)