Struct esp32s2::uhci0::conf1::W

source ·
pub struct W(_);
Expand description

Register CONF1 writer

Implementations

Bit 0 - This is the enable bit to check header checksum when UHCI receives a data packet.

Bit 1 - This is the enable bit to check sequence number when UHCI receives a data packet.

Bit 2 - Set this bit to support CRC calculation. Data Integrity check present bit in UHCI packet frame should be 1.

Bit 3 - Set this bit to save the packet header when UHCI receives a data packet.

Bit 4 - Set this bit to encode the data packet with a checksum.

Bit 5 - Set this bit to encode the data packet with an acknowledgement when a reliable packet is to be transmit.

Bit 6 - 1: Check the link list descriptor when link list owner is DMA controller; 0: Always check link list descriptor.

Bit 7 - The UHCI encoder will jump to ST_SW_WAIT status if this register is set to 1.

Bit 8 - If current UHCI_ENCODE_STATE is ST_SW_WAIT, the UHCI will start to send data packet out when this bit is set to 1.

Bits 9:20 - This field is used to generate the UHCI_DMA_INFIFO_FULL_WM_INT interrupt when the counter value of DMA RX FIFO exceeds the value of the register.

Writes raw bits to the register.

Methods from Deref<Target = W<CONF1_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably 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.