pub enum PinName {
}Variants§
InI2cScl
InI2cSda
PortAPin1
PortAPin2
PortBPin1
PortBPin2
PortCPin1
PortCPin2
PortDPin1
PortDPin2
PortEPin1
PortEPin2
SdSpiSclk
SdSpiCopi
SdSpiCipo
SdSpiCs
RgbLed
PowerHold
MBusPin(u8)
Raw(i32)
Implementations§
Source§impl PinName
impl PinName
pub const PORT_A_SCL: Self = Self::PortAPin1
pub const EX_I2C_SCL: Self = Self::PortAPin1
pub const PORT_A_SDA: Self = Self::PortAPin2
pub const EX_I2C_SDA: Self = Self::PortAPin2
pub const PORT_B_IN: Self = Self::PortBPin1
pub const PORT_B_OUT: Self = Self::PortBPin2
pub const PORT_C_RXD: Self = Self::PortCPin1
pub const PORT_C_TXD: Self = Self::PortCPin2
pub const PORT_D_RXD: Self = Self::PortDPin1
pub const PORT_B2_PIN1: Self = Self::PortDPin1
pub const PORT_D_TXD: Self = Self::PortDPin2
pub const PORT_B2_PIN2: Self = Self::PortDPin2
pub const PORT_E_RXD: Self = Self::PortEPin1
pub const PORT_C2_PIN1: Self = Self::PortEPin1
pub const PORT_E_TXD: Self = Self::PortEPin2
pub const PORT_C2_PIN2: Self = Self::PortEPin2
pub const SD_SPI_MOSI: Self = Self::SdSpiCopi
pub const SD_SPI_MISO: Self = Self::SdSpiCipo
pub const SD_SPI_SS: Self = Self::SdSpiCs
Trait Implementations§
impl Copy for PinName
impl Eq for PinName
impl StructuralPartialEq for PinName
Auto Trait Implementations§
impl Freeze for PinName
impl RefUnwindSafe for PinName
impl Send for PinName
impl Sync for PinName
impl Unpin for PinName
impl UnsafeUnpin for PinName
impl UnwindSafe for PinName
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