Type Alias nrf52840_pac::usbd::epinen::IN7_W

source ·
pub type IN7_W<'a, const O: u8> = BitWriter<'a, u32, EPINEN_SPEC, IN7_A, O>;
Expand description

Field IN7 writer - Enable IN endpoint 7

Aliased Type§

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

Implementations§

source§

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

source

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

Disable endpoint IN 7 (no response to IN tokens)

source

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

Enable endpoint IN 7 (response to IN tokens)