[][src]Type Definition gd32vf103_pac::usbfs_global::grstctl::W

type W = W<u32, GRSTCTL>;

Writer for register GRSTCTL

Implementations

impl W[src]

pub fn csrst(&mut self) -> CSRST_W<'_>[src]

Bit 0 - Core soft reset

pub fn hcsrst(&mut self) -> HCSRST_W<'_>[src]

Bit 1 - HCLK soft reset

pub fn hfcrst(&mut self) -> HFCRST_W<'_>[src]

Bit 2 - Host frame counter reset

pub fn rxff(&mut self) -> RXFF_W<'_>[src]

Bit 4 - RxFIFO flush

pub fn txff(&mut self) -> TXFF_W<'_>[src]

Bit 5 - TxFIFO flush

pub fn txfnum(&mut self) -> TXFNUM_W<'_>[src]

Bits 6:10 - TxFIFO number