Type Alias xmc4500::usb0::gotgctl::OTGVER_R

source ·
pub type OTGVER_R = BitReader<OTGVER_A>;
Expand description

Field OTGVer reader - OTG Version

Aliased Type§

struct OTGVER_R { /* private fields */ }

Implementations§

source§

impl OTGVER_R

source

pub const fn variant(&self) -> OTGVER_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

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

source

pub fn is_value2(&self) -> bool

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