Type Alias xmc4300::usb0_ep1::diepctl_intbulk::W

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

Register DIEPCTL_INTBULK writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bits 0:10 - Maximum Packet Size

source

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

Bit 15 - USB Active Endpoint

source

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

Bits 18:19 - Endpoint Type

source

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

Bit 20 - Snoop Mode

source

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

Bit 21 - STALL Handshake

source

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

Bits 22:25 - TxFIFO Number

source

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

Bit 26 - Clear NAK

source

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

Bit 27 - Set NAK

source

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

Bit 28 - Set DATA0 PID

source

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

Bit 29 - 29 Set DATA1 PID

source

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

Bit 30 - Endpoint Disable

source

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

Bit 31 - Endpoint Enable