nrf52840_pac::usbd::usbpullup

Type Alias CONNECT_W

Source
pub type CONNECT_W<'a, const O: u8> = BitWriter<'a, u32, USBPULLUP_SPEC, CONNECT_A, O>;
Expand description

Field CONNECT writer - Control of the USB pull-up on the D+ line

Aliased Type§

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

Implementations§

Source§

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

Source

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

Pull-up is disconnected

Source

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

Pull-up is connected to D+