Type Alias xmc4300::usb0_ep1::doepctl_intbulk::W

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

Register DOEPCTL_INTBULK writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mps(&mut self) -> MpsW<'_, DoepctlIntbulkSpec>

Bits 0:10 - Maximum Packet Size

source

pub fn usbact_ep(&mut self) -> UsbactEpW<'_, DoepctlIntbulkSpec>

Bit 15 - USB Active Endpoint

source

pub fn eptype(&mut self) -> EptypeW<'_, DoepctlIntbulkSpec>

Bits 18:19 - Endpoint Type

source

pub fn snp(&mut self) -> SnpW<'_, DoepctlIntbulkSpec>

Bit 20 - Snoop Mode

source

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

Bit 21 - STALL Handshake

source

pub fn tx_fnum(&mut self) -> TxFnumW<'_, DoepctlIntbulkSpec>

Bits 22:25 - TxFIFO Number

source

pub fn cnak(&mut self) -> CnakW<'_, DoepctlIntbulkSpec>

Bit 26 - Clear NAK

source

pub fn snak(&mut self) -> SnakW<'_, DoepctlIntbulkSpec>

Bit 27 - Set NAK

source

pub fn set_d0pid(&mut self) -> SetD0pidW<'_, DoepctlIntbulkSpec>

Bit 28 - Set DATA0 PID

source

pub fn set_d1pid(&mut self) -> SetD1pidW<'_, DoepctlIntbulkSpec>

Bit 29 - 29 Set DATA1 PID

source

pub fn epdis(&mut self) -> EpdisW<'_, DoepctlIntbulkSpec>

Bit 30 - Endpoint Disable

source

pub fn epena(&mut self) -> EpenaW<'_, DoepctlIntbulkSpec>

Bit 31 - Endpoint Enable