Type Alias xmc4300::usb0::dctl::SftDisconW

source ·
pub type SftDisconW<'a, REG> = BitWriter<'a, REG, SftDiscon>;
Expand description

Field SftDiscon writer - Soft Disconnect

Aliased Type§

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

Implementations§

source§

impl<'a, REG> SftDisconW<'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.