Type Alias xmc4300::usb0::grstctl::TxFnumR

source ·
pub type TxFnumR = FieldReader<TxFnum>;
Expand description

Field TxFNum reader - TxFIFO Number

Aliased Type§

struct TxFnumR { /* private fields */ }

Implementations§

source§

impl TxFnumR

source

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

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Non-periodic TxFIFO flush in Host mode or Tx FIFO 0 flush in device mode

source

pub fn is_value2(&self) -> bool

Periodic TxFIFO flush in Host mode or Tx FIFO 1 flush in device mode

source

pub fn is_value3(&self) -> bool

Tx FIFO 2 flush in device mode

source

pub fn is_value4(&self) -> bool

Tx FIFO 15 flush in device mode

source

pub fn is_value5(&self) -> bool

Flush all the transmit FIFOs in device or host mode.