pub enum SetupError {
    InvalidGlobalConfig,
    PinAlreadyAssigned,
}
Expand description

Errors that can occur when the peripheral is configured

Variants

InvalidGlobalConfig

The global configuration for the RMT peripheral is invalid (e.g. the fractional parameters are outOfBound)

PinAlreadyAssigned

A pin was already assigned to the channel, at this point in time, only one assigned pin per channel is supported

Trait Implementations

Formats the value using the given formatter. Read more

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.