pub enum Pin {
Show 16 variants
P0 = 1,
P1 = 2,
P2 = 4,
P3 = 8,
P4 = 16,
P5 = 32,
P6 = 64,
P7 = 128,
P10 = 256,
P11 = 512,
P12 = 1_024,
P13 = 2_048,
P14 = 4_096,
P15 = 8_192,
P16 = 16_384,
P17 = 32_768,
}Expand description
Pin of Pcf857x
Variants§
P0 = 1
Pin 0
P1 = 2
Pin 1
P2 = 4
Pin 2
P3 = 8
Pin 3
P4 = 16
Pin 4
P5 = 32
Pin 5
P6 = 64
Pin 6
P7 = 128
Pin 7
P10 = 256
Pin 10 (only PCF8575)
P11 = 512
Pin 11 (only PCF8575)
P12 = 1_024
Pin 12 (only PCF8575)
P13 = 2_048
Pin 13 (only PCF8575)
P14 = 4_096
Pin 14 (only PCF8575)
P15 = 8_192
Pin 15 (only PCF8575)
P16 = 16_384
Pin 16 (only PCF8575)
P17 = 32_768
Pin 17 (only PCF8575)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnwindSafe for Pin
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