#[repr(u8)]pub enum DefaultIspMode {
AUTO_ISP = 0,
USB_HID_ISP = 1,
UART_ISP = 2,
SPI_ISP = 3,
I2C_ISP = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
DISABLE = 7,
}Variants§
AUTO_ISP = 0
Auto ISP
USB_HID_ISP = 1
USB_HID_ISP
UART_ISP = 2
UART ISP
SPI_ISP = 3
SPI Slave ISP
I2C_ISP = 4
I2C Slave ISP
_RESERVED_5 = 5
_RESERVED_6 = 6
DISABLE = 7
Disable ISP fall through
Implementations§
Trait Implementations§
Source§impl Clone for DefaultIspMode
impl Clone for DefaultIspMode
Source§fn clone(&self) -> DefaultIspMode
fn clone(&self) -> DefaultIspMode
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 DefaultIspMode
impl Debug for DefaultIspMode
Source§impl From<DefaultIspMode> for u8
impl From<DefaultIspMode> for u8
Source§fn from(val: DefaultIspMode) -> u8
fn from(val: DefaultIspMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DefaultIspMode
impl From<u8> for DefaultIspMode
Source§fn from(val: u8) -> DefaultIspMode
fn from(val: u8) -> DefaultIspMode
Converts to this type from the input type.
Source§impl Ord for DefaultIspMode
impl Ord for DefaultIspMode
Source§fn cmp(&self, other: &DefaultIspMode) -> Ordering
fn cmp(&self, other: &DefaultIspMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DefaultIspMode
impl PartialEq for DefaultIspMode
Source§impl PartialOrd for DefaultIspMode
impl PartialOrd for DefaultIspMode
impl Copy for DefaultIspMode
impl Eq for DefaultIspMode
impl StructuralPartialEq for DefaultIspMode
Auto Trait Implementations§
impl Freeze for DefaultIspMode
impl RefUnwindSafe for DefaultIspMode
impl Send for DefaultIspMode
impl Sync for DefaultIspMode
impl Unpin for DefaultIspMode
impl UnwindSafe for DefaultIspMode
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