Type Alias gd32e1::gd32e103::usbfs_host::hch0intf::W

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

Register HCH0INTF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tf(&mut self) -> TfW<'_, Hch0intfSpec>

Bit 0 - Transfer finished

source

pub fn ch(&mut self) -> ChW<'_, Hch0intfSpec>

Bit 1 - Channel halted

source

pub fn stall(&mut self) -> StallW<'_, Hch0intfSpec>

Bit 3 - STALL response received interrupt

source

pub fn nak(&mut self) -> NakW<'_, Hch0intfSpec>

Bit 4 - NAK response received interrupt

source

pub fn ack(&mut self) -> AckW<'_, Hch0intfSpec>

Bit 5 - ACK response received/transmitted interrupt

source

pub fn usber(&mut self) -> UsberW<'_, Hch0intfSpec>

Bit 7 - USB bus error

source

pub fn bber(&mut self) -> BberW<'_, Hch0intfSpec>

Bit 8 - Babble error

source

pub fn reqovr(&mut self) -> ReqovrW<'_, Hch0intfSpec>

Bit 9 - Request queue overrun

source

pub fn dter(&mut self) -> DterW<'_, Hch0intfSpec>

Bit 10 - Data toggle error