pub enum PinCapability {
Show 28 variants
DigitalInput = 1,
DigitalOutput = 2,
AnalogInput = 3,
MfAnalogInput = 4,
AnalogOutput = 5,
KeyboardMapping = 6,
TriggeredInput = 7,
DigitalCounter = 8,
PwmOutput = 9,
FastEncoder1A = 10,
FastEncoder1B = 11,
FastEncoder1I = 12,
FastEncoder2A = 13,
FastEncoder2B = 14,
FastEncoder2I = 15,
FastEncoder3A = 16,
FastEncoder3B = 17,
FastEncoder3I = 18,
UltraFastEncoderA = 19,
UltraFastEncoderB = 20,
UltraFastEncoderI = 21,
LcdE = 22,
LcdRw = 23,
LcdRs = 24,
LcdD4 = 25,
LcdD5 = 26,
LcdD6 = 27,
LcdD7 = 28,
}Expand description
Pin capabilities for checking device support
Variants§
DigitalInput = 1
DigitalOutput = 2
AnalogInput = 3
MfAnalogInput = 4
AnalogOutput = 5
KeyboardMapping = 6
TriggeredInput = 7
DigitalCounter = 8
PwmOutput = 9
FastEncoder1A = 10
FastEncoder1B = 11
FastEncoder1I = 12
FastEncoder2A = 13
FastEncoder2B = 14
FastEncoder2I = 15
FastEncoder3A = 16
FastEncoder3B = 17
FastEncoder3I = 18
UltraFastEncoderA = 19
UltraFastEncoderB = 20
UltraFastEncoderI = 21
LcdE = 22
LcdRw = 23
LcdRs = 24
LcdD4 = 25
LcdD5 = 26
LcdD6 = 27
LcdD7 = 28
Trait Implementations§
Source§impl Clone for PinCapability
impl Clone for PinCapability
Source§fn clone(&self) -> PinCapability
fn clone(&self) -> PinCapability
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 PinCapability
impl Debug for PinCapability
Source§impl PartialEq for PinCapability
impl PartialEq for PinCapability
impl Copy for PinCapability
impl Eq for PinCapability
impl StructuralPartialEq for PinCapability
Auto Trait Implementations§
impl Freeze for PinCapability
impl RefUnwindSafe for PinCapability
impl Send for PinCapability
impl Sync for PinCapability
impl Unpin for PinCapability
impl UnsafeUnpin for PinCapability
impl UnwindSafe for PinCapability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.