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