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

type W = W<u32, GUSBCS>;

Writer for register GUSBCS

Implementations

impl W[src]

pub fn toc(&mut self) -> TOC_W<'_>[src]

Bits 0:2 - Timeout calibration

pub fn srpcen(&mut self) -> SRPCEN_W<'_>[src]

Bit 8 - SRP capability enable

pub fn hnpcen(&mut self) -> HNPCEN_W<'_>[src]

Bit 9 - HNP capability enable

pub fn utt(&mut self) -> UTT_W<'_>[src]

Bits 10:13 - USB turnaround time

pub fn fhm(&mut self) -> FHM_W<'_>[src]

Bit 29 - Force host mode

pub fn fdm(&mut self) -> FDM_W<'_>[src]

Bit 30 - Force device mode