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

type W = W<u32, GOTGCS>;

Writer for register GOTGCS

Implementations

impl W[src]

pub fn srpreq(&mut self) -> SRPREQ_W<'_>[src]

Bit 1 - SRP request

pub fn hnpreq(&mut self) -> HNPREQ_W<'_>[src]

Bit 9 - HNP request

pub fn hhnpen(&mut self) -> HHNPEN_W<'_>[src]

Bit 10 - Host HNP enable

pub fn dhnpen(&mut self) -> DHNPEN_W<'_>[src]

Bit 11 - Device HNP enabled