[−][src]Struct pyportal::pins::Pins
Maps the pins to their arduino names and the numbers printed on the board.
Fields
port: Port
Opaque port reference
speaker: Pa2<Input<Floating>>
Analog pin 0. Can act as a true analog output as it has a DAC (which is not currently supported by this hal) as well as input.
speaker_enable: Pa27<Input<Floating>>
enable speaker amplifier
light: Pa7<Input<Floating>>
Light sensor
d3: Pa4<Input<Floating>>
Pin D3
d4: Pa5<Input<Floating>>
Pin D4
d13: Pb23<Input<Floating>>
D13 LED
neopixel: Pb22<Input<Floating>>
Neopixel status LED
tft_reset: Pa0<Input<Floating>>
TFT Reset
tft_rd: Pb4<Input<Floating>>
TFT RD
tft_rs: Pb5<Input<Floating>>
TFT RS
tft_cs: Pb6<Input<Floating>>
TFT CS
tft_te: Pb7<Input<Floating>>
TFT TE
tft_wr: Pb9<Input<Floating>>
TFT WR
tft_backlight: Pb31<Input<Floating>>
TFT Backlight
lcd_data0: Pa16<Input<Floating>>
LCD Data 0
lcd_data1: Pa17<Input<Floating>>
LCD Data 1
lcd_data2: Pa18<Input<Floating>>
LCD Data 2
lcd_data3: Pa19<Input<Floating>>
LCD Data 3
lcd_data4: Pa20<Input<Floating>>
LCD Data 4
lcd_data5: Pa21<Input<Floating>>
LCD Data 5
lcd_data6: Pa22<Input<Floating>>
LCD Data 6
lcd_data7: Pa23<Input<Floating>>
LCD Data 7
touch_yd: Pb0<Input<Floating>>
Touchscreen pins Touch YD
touch_xl: Pb1<Input<Floating>>
Touch XL
touch_yu: Pa6<Input<Floating>>
Touch YU
touch_xr: Pb8<Input<Floating>>
Touch XR
esp_cs: Pb14<Input<Floating>>
Pin ESP CS
esp_gpio0: Pb15<Input<Floating>>
Pin ESP GPIO0
esp_busy: Pb16<Input<Floating>>
Pin ESP Busy
esp_reset: Pb17<Input<Floating>>
Pin ESP Reset
esp_rts: Pa15<Input<Floating>>
Pin ESP RTS
esp_tx: Pb12<Input<Floating>>
Pin TX
esp_rx: Pb13<Input<Floating>>
Pin RX
mosi: Pa12<Input<Floating>>
Pin MOSI
sck: Pa13<Input<Floating>>
Pin SCK
miso: Pa14<Input<Floating>>
Pin MISO
sda: Pb2<Input<Floating>>
Pin SDA
scl: Pb3<Input<Floating>>
Pin SCL
sd_cs: Pb30<Input<Floating>>
Pin SD CS
sd_card_detect: Pa1<Input<Floating>>
Pin SD card detect
Implementations
impl Pins
[src]
impl Pins
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,