Struct arduino_hal::port::Pins
source · pub struct Pins {Show 20 fields
pub a0: Pin<Input<Floating>, A0>,
pub a1: Pin<Input<Floating>, A1>,
pub a2: Pin<Input<Floating>, A2>,
pub a3: Pin<Input<Floating>, A3>,
pub a4: Pin<Input<Floating>, A4>,
pub a5: Pin<Input<Floating>, A5>,
pub d0: Pin<Input<Floating>, D0>,
pub d1: Pin<Input<Floating>, D1>,
pub d2: Pin<Input<Floating>, D2>,
pub d3: Pin<Input<Floating>, D3>,
pub d4: Pin<Input<Floating>, D4>,
pub d5: Pin<Input<Floating>, D5>,
pub d6: Pin<Input<Floating>, D6>,
pub d7: Pin<Input<Floating>, D7>,
pub d8: Pin<Input<Floating>, D8>,
pub d9: Pin<Input<Floating>, D9>,
pub d10: Pin<Input<Floating>, D10>,
pub d11: Pin<Input<Floating>, D11>,
pub d12: Pin<Input<Floating>, D12>,
pub d13: Pin<Input<Floating>, D13>,
}
Expand description
Pins of the Arduino Uno, Arduino Nano, SparkFun ProMini 3.3V (8Mhz), and SparkFun ProMini 5V (16MHz).
This struct is best initialized via the arduino_hal::pins!()
macro.
Fields§
§a0: Pin<Input<Floating>, A0>
§a1: Pin<Input<Floating>, A1>
§a2: Pin<Input<Floating>, A2>
§a3: Pin<Input<Floating>, A3>
§a4: Pin<Input<Floating>, A4>
§a5: Pin<Input<Floating>, A5>
§d0: Pin<Input<Floating>, D0>
§d1: Pin<Input<Floating>, D1>
§d2: Pin<Input<Floating>, D2>
§d3: Pin<Input<Floating>, D3>
§d4: Pin<Input<Floating>, D4>
§d5: Pin<Input<Floating>, D5>
§d6: Pin<Input<Floating>, D6>
§d7: Pin<Input<Floating>, D7>
§d8: Pin<Input<Floating>, D8>
§d9: Pin<Input<Floating>, D9>
§d10: Pin<Input<Floating>, D10>
§d11: Pin<Input<Floating>, D11>
§d12: Pin<Input<Floating>, D12>
§d13: Pin<Input<Floating>, D13>
Implementations§
Auto Trait Implementations§
impl Freeze for Pins
impl RefUnwindSafe for Pins
impl Send for Pins
impl Sync for Pins
impl Unpin for Pins
impl UnwindSafe for Pins
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