Type Alias xmc4300::usb0::gotgctl::OTGVER_W

source ·
pub type OTGVER_W<'a, REG> = BitWriter<'a, REG, OTGVER_A>;
Expand description

Field OTGVer writer - OTG Version

Aliased Type§

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

Implementations§

source§

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

source

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

OTG Version 1.3. In this version the core supports Data line pulsing and VBus pulsing for SRP.

source

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

OTG Version 2.0. In this version the core supports only Data line pulsing for SRP.