Type Alias xmc4800::usb0::gintsts_devicemode::CUR_MOD_R

source ·
pub type CUR_MOD_R = BitReader<CUR_MOD_A>;
Expand description

Field CurMod reader - Current Mode of Operation

Aliased Type§

struct CUR_MOD_R { /* private fields */ }

Implementations§

source§

impl CUR_MOD_R

source

pub const fn variant(&self) -> CUR_MOD_A

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Device mode

source

pub fn is_value2(&self) -> bool

Host mode