Type Alias gd32e1::gd32e103::usbfs_device::dctl::W

source ·
pub type W = W<DctlSpec>;
Expand description

Register DCTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rwkup(&mut self) -> RwkupW<'_, DctlSpec>

Bit 0 - Remote wakeup

source

pub fn sd(&mut self) -> SdW<'_, DctlSpec>

Bit 1 - Soft disconnect

source

pub fn sginak(&mut self) -> SginakW<'_, DctlSpec>

Bit 7 - Set global IN NAK

source

pub fn cginak(&mut self) -> CginakW<'_, DctlSpec>

Bit 8 - Clear global IN NAK

source

pub fn sgonak(&mut self) -> SgonakW<'_, DctlSpec>

Bit 9 - Set global OUT NAK

source

pub fn cgonak(&mut self) -> CgonakW<'_, DctlSpec>

Bit 10 - Clear global OUT NAK

source

pub fn poif(&mut self) -> PoifW<'_, DctlSpec>

Bit 11 - Power-on initialization flag