pub enum Error {
ClockTooFast,
BufferOverrun,
}
Expand description
Errors that may occur when operating the ADC
Variants§
ClockTooFast
Clock too fast.
The ADC requires that it’s fed a GCLK that does not exceed a certain frequency. These maximums are:
- SAMD/E5x - 100Mhz
- SAMC/D21 - 48Mhz
- SAMD11 - 48Mhz
SAMx51 specific: If you are running the CPU at temperatures past 100C, then the maximum GCLK clock speed should be 90Mhz
BufferOverrun
Buffer overflowed
Trait Implementations§
Source§impl From<Error> for BuilderError
impl From<Error> for BuilderError
impl Copy for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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