pub struct TwaiConfiguration<'d, T> { /* private fields */ }
Expand description

An inactive TWAI peripheral in the “Reset”/configuration state.

Implementations§

Set up the acceptance filter on the device.

NOTE: On a bus with mixed 11-bit and 29-bit packet id’s, you may experience an 11-bit filter match against a 29-bit frame and vice versa. Your application should check the id again once a frame has been received to make sure it is the expected value.

ESP32C3 Reference Manual

Set the error warning threshold.

In the case when any of an error counter value exceeds the threshold, or all the error counter values are below the threshold, an error warning interrupt will be triggered (given the enable signal is valid).

Put the peripheral into Operation Mode, allowing the transmission and reception of packets using the new object.

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.