pub type W = W<DIEPCTL0_SPEC>;
Expand description
Register DIEPCTL0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn mps(&mut self) -> MPS_W<'_, DIEPCTL0_SPEC>
pub fn mps(&mut self) -> MPS_W<'_, DIEPCTL0_SPEC>
Bits 0:1 - Maximum Packet Size
sourcepub fn stall(&mut self) -> STALL_W<'_, DIEPCTL0_SPEC>
pub fn stall(&mut self) -> STALL_W<'_, DIEPCTL0_SPEC>
Bit 21 - STALL Handshake
sourcepub fn tx_fnum(&mut self) -> TX_FNUM_W<'_, DIEPCTL0_SPEC>
pub fn tx_fnum(&mut self) -> TX_FNUM_W<'_, DIEPCTL0_SPEC>
Bits 22:25 - TxFIFO Number
sourcepub fn cnak(&mut self) -> CNAK_W<'_, DIEPCTL0_SPEC>
pub fn cnak(&mut self) -> CNAK_W<'_, DIEPCTL0_SPEC>
Bit 26 - Clear NAK
sourcepub fn snak(&mut self) -> SNAK_W<'_, DIEPCTL0_SPEC>
pub fn snak(&mut self) -> SNAK_W<'_, DIEPCTL0_SPEC>
Bit 27 - Set NAK
sourcepub fn epdis(&mut self) -> EPDIS_W<'_, DIEPCTL0_SPEC>
pub fn epdis(&mut self) -> EPDIS_W<'_, DIEPCTL0_SPEC>
Bit 30 - Endpoint Disable
sourcepub fn epena(&mut self) -> EPENA_W<'_, DIEPCTL0_SPEC>
pub fn epena(&mut self) -> EPENA_W<'_, DIEPCTL0_SPEC>
Bit 31 - Endpoint Enable