nrf52840_pac::usbd::usbpullup

Type Alias 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