Type Alias nrf52840_pac::usbd::usbpullup::CONNECT_R

source ·
pub type CONNECT_R = BitReader<CONNECT_A>;
Expand description

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

Aliased Type§

struct CONNECT_R { /* private fields */ }

Implementations§

source§

impl CONNECT_R

source

pub fn variant(&self) -> CONNECT_A

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED