Type Alias xmc4400::usb0::dctl::SFT_DISCON_R

source ·
pub type SFT_DISCON_R = BitReader<SFT_DISCON_A>;
Expand description

Field SftDiscon reader - Soft Disconnect

Aliased Type§

struct SFT_DISCON_R { /* private fields */ }

Implementations§

source§

impl SFT_DISCON_R

source

pub const fn variant(&self) -> SFT_DISCON_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Normal operation. When this bit is cleared after a soft disconnect, the core drives a device connect event to the USB host. When the device is reconnected, the USB host restarts device enumeration.

source

pub fn is_value2(&self) -> bool

The core drives a device disconnect event to the USB host.