Type Alias xmc4300::usb0::dcfg::NzstsOuthshkR

source ·
pub type NzstsOuthshkR = BitReader<NzstsOuthshk>;
Expand description

Field NZStsOUTHShk reader - Non-Zero-Length Status OUT Handshake

Aliased Type§

struct NzstsOuthshkR { /* private fields */ }

Implementations§

source§

impl NzstsOuthshkR

source

pub const fn variant(&self) -> NzstsOuthshk

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Send a STALL handshake on a nonzero-length status OUT transaction and do not send the received OUT packet to the application.

source

pub fn is_value2(&self) -> bool

Send the received OUT packet to the application (zero-length or nonzero-length) and send a handshake based on the NAK and STALL bits for the endpoint in the Device Endpoint Control register.