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
impl W
sourcepub fn mps(&mut self) -> MpsW<'_, DoepctlIntbulkSpec>
pub fn mps(&mut self) -> MpsW<'_, DoepctlIntbulkSpec>
Bits 0:10 - Maximum Packet Size
sourcepub fn usbact_ep(&mut self) -> UsbactEpW<'_, DoepctlIntbulkSpec>
pub fn usbact_ep(&mut self) -> UsbactEpW<'_, DoepctlIntbulkSpec>
Bit 15 - USB Active Endpoint
sourcepub fn eptype(&mut self) -> EptypeW<'_, DoepctlIntbulkSpec>
pub fn eptype(&mut self) -> EptypeW<'_, DoepctlIntbulkSpec>
Bits 18:19 - Endpoint Type
sourcepub fn snp(&mut self) -> SnpW<'_, DoepctlIntbulkSpec>
pub fn snp(&mut self) -> SnpW<'_, DoepctlIntbulkSpec>
Bit 20 - Snoop Mode
sourcepub fn stall(&mut self) -> StallW<'_, DoepctlIntbulkSpec>
pub fn stall(&mut self) -> StallW<'_, DoepctlIntbulkSpec>
Bit 21 - STALL Handshake
sourcepub fn tx_fnum(&mut self) -> TxFnumW<'_, DoepctlIntbulkSpec>
pub fn tx_fnum(&mut self) -> TxFnumW<'_, DoepctlIntbulkSpec>
Bits 22:25 - TxFIFO Number
sourcepub fn cnak(&mut self) -> CnakW<'_, DoepctlIntbulkSpec>
pub fn cnak(&mut self) -> CnakW<'_, DoepctlIntbulkSpec>
Bit 26 - Clear NAK
sourcepub fn snak(&mut self) -> SnakW<'_, DoepctlIntbulkSpec>
pub fn snak(&mut self) -> SnakW<'_, DoepctlIntbulkSpec>
Bit 27 - Set NAK
sourcepub fn set_d0pid(&mut self) -> SetD0pidW<'_, DoepctlIntbulkSpec>
pub fn set_d0pid(&mut self) -> SetD0pidW<'_, DoepctlIntbulkSpec>
Bit 28 - Set DATA0 PID
sourcepub fn set_d1pid(&mut self) -> SetD1pidW<'_, DoepctlIntbulkSpec>
pub fn set_d1pid(&mut self) -> SetD1pidW<'_, DoepctlIntbulkSpec>
Bit 29 - 29 Set DATA1 PID
sourcepub fn epdis(&mut self) -> EpdisW<'_, DoepctlIntbulkSpec>
pub fn epdis(&mut self) -> EpdisW<'_, DoepctlIntbulkSpec>
Bit 30 - Endpoint Disable
sourcepub fn epena(&mut self) -> EpenaW<'_, DoepctlIntbulkSpec>
pub fn epena(&mut self) -> EpenaW<'_, DoepctlIntbulkSpec>
Bit 31 - Endpoint Enable