Enum esp32c3_hal::ledc::channel::FadeError
source · pub enum FadeError {
StartDuty,
EndDuty,
DutyRange,
Duration,
}
Expand description
Fade parameter sub-errors
Variants§
StartDuty
Start duty % out of range
EndDuty
End duty % out of range
DutyRange
Duty % change from start to end is out of range
Duration
Duration too long for timer frequency and duty resolution
Trait Implementations§
source§impl PartialEq for FadeError
impl PartialEq for FadeError
impl Copy for FadeError
impl StructuralPartialEq for FadeError
Auto Trait Implementations§
impl RefUnwindSafe for FadeError
impl Send for FadeError
impl Sync for FadeError
impl Unpin for FadeError
impl UnwindSafe for FadeError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more