pub struct BxCanPnpClient<C: Clock, M, I: Instance + FilterOwner> {
    pub client: PnpClient<C, M, CanTransmitter<C::Instant, SingleQueueDriver<SingleFrameQueue<C::Instant>, BxCanDriver<C::Instant, I>>>, CanReceiver<C::Instant, SingleQueueDriver<SingleFrameQueue<C::Instant>, BxCanDriver<C::Instant, I>>>>,
    /* private fields */
}
Expand description

A plug-and-play node ID assignment client that uses a bxCAN peripheral

Fields

client: PnpClient<C, M, CanTransmitter<C::Instant, SingleQueueDriver<SingleFrameQueue<C::Instant>, BxCanDriver<C::Instant, I>>>, CanReceiver<C::Instant, SingleQueueDriver<SingleFrameQueue<C::Instant>, BxCanDriver<C::Instant, I>>>>

The node ID allocation client

Implementations

Creates a node ID allocation client

Publishes an ID allocation request, sending it onto the CAN bus

This function returns an error if no transmit mailbox was available for the frame.

Handles and parses incoming CAN frames, and returns a node ID if one was received

Breaks up this client into its clock and CAN driver

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.