Type Alias xmc4300::usb0::hprt::PrtConnStsR

source ·
pub type PrtConnStsR = BitReader<PrtConnSts>;
Expand description

Field PrtConnSts reader - Port Connect Status

Aliased Type§

struct PrtConnStsR { /* private fields */ }

Implementations§

source§

impl PrtConnStsR

source

pub const fn variant(&self) -> PrtConnSts

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

No device is attached to the port.

source

pub fn is_value2(&self) -> bool

A device is attached to the port.