Type Alias xmc4300::usb0::dctl::SFT_DISCON_W

source ·
pub type SFT_DISCON_W<'a, REG> = BitWriter<'a, REG, SFT_DISCON_A>;
Expand description

Field SftDiscon writer - Soft Disconnect

Aliased Type§

struct SFT_DISCON_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> SFT_DISCON_W<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn value1(self) -> &'a mut W<REG>

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 value2(self) -> &'a mut W<REG>

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