Struct atsam4sd16c_pac::udp::csr::R

source ·
pub struct R(_);
Expand description

Register CSR[%s] reader

Implementations§

Bit 0 - Generates an IN Packet with Data Previously Written in the DPR

Bit 1 - Receive Data Bank 0

Bit 2 - Received Setup

Bit 3 - Stall Sent

Bit 4 - Transmit Packet Ready

Bit 5 - Force Stall (used by Control, Bulk and Isochronous Endpoints)

Bit 6 - Receive Data Bank 1 (only used by endpoints with ping-pong attributes)

Bit 7 - Transfer Direction (only available for control endpoints)

Bits 8:10 - Endpoint Type

Bit 11 - Data Toggle

Bit 15 - Endpoint Enable Disable

Bits 16:26 - Number of Bytes Available in the FIFO

Methods from Deref<Target = R<CSR_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.