Type Alias xmc4300::usb0::grxstsp_devicemode::PKT_STS_R

source ·
pub type PKT_STS_R = FieldReader<PKT_STS_A>;
Expand description

Field PktSts reader - Packet Status

Aliased Type§

struct PKT_STS_R { /* private fields */ }

Implementations§

source§

impl PKT_STS_R

source

pub const fn variant(&self) -> Option<PKT_STS_A>

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Global OUT NAK (triggers an interrupt)

source

pub fn is_value2(&self) -> bool

OUT data packet received

source

pub fn is_value3(&self) -> bool

OUT transfer completed (triggers an interrupt)

source

pub fn is_value4(&self) -> bool

SETUP transaction completed (triggers an interrupt)

source

pub fn is_value5(&self) -> bool

SETUP data packet received