Type Alias xmc4400::usb0_ep0::doepctl0::R

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

Register DOEPCTL0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn mps(&self) -> MPS_R

Bits 0:1 - Maximum Packet Size

source

pub fn usbact_ep(&self) -> USBACT_EP_R

Bit 15 - USB Active Endpoint

source

pub fn naksts(&self) -> NAKSTS_R

Bit 17 - NAK Status

source

pub fn eptype(&self) -> EPTYPE_R

Bits 18:19 - Endpoint Type

source

pub fn snp(&self) -> SNP_R

Bit 20 - Snoop Mode

source

pub fn stall(&self) -> STALL_R

Bit 21 - STALL Handshake

source

pub fn epdis(&self) -> EPDIS_R

Bit 30 - Endpoint Disable

source

pub fn epena(&self) -> EPENA_R

Bit 31 - Endpoint Enable