pub enum STM32Error {
RCCError,
GPIOError,
TimerError,
UARTError,
SPIError,
I2CError,
ADCError,
CRCError,
}Expand description
STM32 specific errors
Variants§
RCCError
RCC (Reset and Clock Control) error
GPIOError
GPIO error
TimerError
Timer error
UARTError
UART error
SPIError
SPI error
I2CError
I2C error
ADCError
ADC error
CRCError
CRC unit error
Trait Implementations§
Source§impl Clone for STM32Error
impl Clone for STM32Error
Source§fn clone(&self) -> STM32Error
fn clone(&self) -> STM32Error
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for STM32Error
impl Debug for STM32Error
Source§impl From<STM32Error> for PlatformError
impl From<STM32Error> for PlatformError
Source§fn from(error: STM32Error) -> Self
fn from(error: STM32Error) -> Self
Converts to this type from the input type.
Source§impl PartialEq for STM32Error
impl PartialEq for STM32Error
impl Copy for STM32Error
impl Eq for STM32Error
impl StructuralPartialEq for STM32Error
Auto Trait Implementations§
impl Freeze for STM32Error
impl RefUnwindSafe for STM32Error
impl Send for STM32Error
impl Sync for STM32Error
impl Unpin for STM32Error
impl UnwindSafe for STM32Error
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