Struct esp32s3::twai::cmd::W

source ·
pub struct W(_);
Expand description

Register CMD writer

Implementations

Bit 0 - Set the bit to 1 to allow the driving nodes start transmission.

Bit 1 - Set the bit to 1 to cancel a pending transmission request.

Bit 2 - Set the bit to 1 to release the RX buffer.

Bit 3 - Set the bit to 1 to clear the data overrun status bit.

Bit 4 - Self reception request command. Set the bit to 1 to allow a message be transmitted and received simultaneously.

Writes raw bits to the register.

Methods from Deref<Target = W<CMD_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.