Type Definition stm32f1::stm32f101::otg_fs_global::fs_grstctl::W[][src]

type W = W<u32, FS_GRSTCTL>;

Writer for register FS_GRSTCTL

Implementations

impl W[src]

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

Bit 0 - Core soft reset

pub fn hsrst(&mut self) -> HSRST_W<'_>[src]

Bit 1 - HCLK soft reset

pub fn fcrst(&mut self) -> FCRST_W<'_>[src]

Bit 2 - Host frame counter reset

pub fn rxfflsh(&mut self) -> RXFFLSH_W<'_>[src]

Bit 4 - RxFIFO flush

pub fn txfflsh(&mut self) -> TXFFLSH_W<'_>[src]

Bit 5 - TxFIFO flush

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

Bits 6:10 - TxFIFO number