Type Alias xmc4300::usb0::grstctl::W

source ·
pub type W = W<GRSTCTL_SPEC>;
Expand description

Register GRSTCTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn csft_rst(&mut self) -> CSFT_RST_W<'_, GRSTCTL_SPEC>

Bit 0 - Core Soft Reset

source

pub fn frm_cntr_rst(&mut self) -> FRM_CNTR_RST_W<'_, GRSTCTL_SPEC>

Bit 2 - Host Frame Counter Reset

source

pub fn rx_fflsh(&mut self) -> RX_FFLSH_W<'_, GRSTCTL_SPEC>

Bit 4 - RxFIFO Flush

source

pub fn tx_fflsh(&mut self) -> TX_FFLSH_W<'_, GRSTCTL_SPEC>

Bit 5 - TxFIFO Flush

source

pub fn tx_fnum(&mut self) -> TX_FNUM_W<'_, GRSTCTL_SPEC>

Bits 6:10 - TxFIFO Number