Type Alias xmc4300::usb0_ep0::doepctl0::R

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

Register DOEPCTL0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn mps(&self) -> MpsR

Bits 0:1 - Maximum Packet Size

source

pub fn usbact_ep(&self) -> UsbactEpR

Bit 15 - USB Active Endpoint

source

pub fn naksts(&self) -> NakstsR

Bit 17 - NAK Status

source

pub fn eptype(&self) -> EptypeR

Bits 18:19 - Endpoint Type

source

pub fn snp(&self) -> SnpR

Bit 20 - Snoop Mode

source

pub fn stall(&self) -> StallR

Bit 21 - STALL Handshake

source

pub fn epdis(&self) -> EpdisR

Bit 30 - Endpoint Disable

source

pub fn epena(&self) -> EpenaR

Bit 31 - Endpoint Enable