Enum esp32c3_hal::pulse_control::SetupError
source · [−]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
Auto Trait Implementations
impl RefUnwindSafe for SetupError
impl Send for SetupError
impl Sync for SetupError
impl Unpin for SetupError
impl UnwindSafe for SetupError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more