Type Alias gd32e1::gd32e103::usbfs_device::doep1ctl::R

source ·
pub type R = R<Doep1ctlSpec>;
Expand description

Register DOEP1CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn mpl(&self) -> MplR

Bits 0:10 - maximum packet length

source

pub fn epact(&self) -> EpactR

Bit 15 - Endpoint active

source

pub fn eofrm_dpid(&self) -> EofrmDpidR

Bit 16 - EOFRM/DPID

source

pub fn naks(&self) -> NaksR

Bit 17 - NAK status

source

pub fn eptype(&self) -> EptypeR

Bits 18:19 - Endpoint type

source

pub fn snoop(&self) -> SnoopR

Bit 20 - Snoop mode

source

pub fn stall(&self) -> StallR

Bit 21 - STALL handshake

source

pub fn epd(&self) -> EpdR

Bit 30 - Endpoint disable

source

pub fn epen(&self) -> EpenR

Bit 31 - Endpoint enable