#[repr(u32)]pub enum GeneralPin {
QUAD_IDX = 0,
QUAD_B = 1,
QUAD_A = 2,
LIMR = 3,
LIMF = 4,
SDA = 5,
SCL = 6,
SPI_CS = 7,
SPI_MISO_PWM2P = 8,
SPI_MOSI_PWM1P = 9,
SPI_CLK_PWM0P = 10,
}Expand description
General IO Pins on the CANifier
Variants§
QUAD_IDX = 0
QUAD_B = 1
QUAD_A = 2
LIMR = 3
LIMF = 4
SDA = 5
SCL = 6
SPI_CS = 7
SPI_MISO_PWM2P = 8
SPI_MOSI_PWM1P = 9
SPI_CLK_PWM0P = 10
Trait Implementations§
Source§impl Clone for GeneralPin
impl Clone for GeneralPin
Source§fn clone(&self) -> GeneralPin
fn clone(&self) -> GeneralPin
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 GeneralPin
impl Debug for GeneralPin
Source§impl Hash for GeneralPin
impl Hash for GeneralPin
Source§impl PartialEq for GeneralPin
impl PartialEq for GeneralPin
impl Copy for GeneralPin
impl Eq for GeneralPin
impl StructuralPartialEq for GeneralPin
Auto Trait Implementations§
impl Freeze for GeneralPin
impl RefUnwindSafe for GeneralPin
impl Send for GeneralPin
impl Sync for GeneralPin
impl Unpin for GeneralPin
impl UnwindSafe for GeneralPin
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