[][src]Type Definition stm32f2::stm32f217::otg_fs_global::fs_grstctl::W

type W = W<u32, FS_GRSTCTL>;

Writer for register FS_GRSTCTL

Methods

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