Struct atsam4s2a_pac::udp::csr::W
source · pub struct W(_);
Expand description
Register CSR[%s]
writer
Implementations§
source§impl W
impl W
sourcepub fn txcomp(&mut self) -> TXCOMP_W<'_, 0>
pub fn txcomp(&mut self) -> TXCOMP_W<'_, 0>
Bit 0 - Generates an IN Packet with Data Previously Written in the DPR
sourcepub fn rx_data_bk0(&mut self) -> RX_DATA_BK0_W<'_, 1>
pub fn rx_data_bk0(&mut self) -> RX_DATA_BK0_W<'_, 1>
Bit 1 - Receive Data Bank 0
sourcepub fn stallsent(&mut self) -> STALLSENT_W<'_, 3>
pub fn stallsent(&mut self) -> STALLSENT_W<'_, 3>
Bit 3 - Stall Sent
sourcepub fn txpktrdy(&mut self) -> TXPKTRDY_W<'_, 4>
pub fn txpktrdy(&mut self) -> TXPKTRDY_W<'_, 4>
Bit 4 - Transmit Packet Ready
sourcepub fn forcestall(&mut self) -> FORCESTALL_W<'_, 5>
pub fn forcestall(&mut self) -> FORCESTALL_W<'_, 5>
Bit 5 - Force Stall (used by Control, Bulk and Isochronous Endpoints)
sourcepub fn rx_data_bk1(&mut self) -> RX_DATA_BK1_W<'_, 6>
pub fn rx_data_bk1(&mut self) -> RX_DATA_BK1_W<'_, 6>
Bit 6 - Receive Data Bank 1 (only used by endpoints with ping-pong attributes)
sourcepub fn dir(&mut self) -> DIR_W<'_, 7>
pub fn dir(&mut self) -> DIR_W<'_, 7>
Bit 7 - Transfer Direction (only available for control endpoints)
sourcepub fn rxbytecnt(&mut self) -> RXBYTECNT_W<'_, 16>
pub fn rxbytecnt(&mut self) -> RXBYTECNT_W<'_, 16>
Bits 16:26 - Number of Bytes Available in the FIFO
Methods from Deref<Target = W<CSR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more