pub struct Sets {
Show 17 fields pub port: Port, pub display: Display, pub led_pin: Pa23<Input<Floating>>, pub neopixel: Neopixel, pub light_pin: Pb4<Input<Floating>>, pub i2c: I2C, pub sd_cs_pin: Pa14<Input<Floating>>, pub battery: Battery, pub speaker: Speaker, pub spi: SPI, pub usb: USB, pub uart: UART, pub analog: Analog, pub digital: Digital, pub flash: QSPIFlash, pub buttons: Buttons, pub joystick: Joystick,
}
Expand description

Sets of pins split apart by category

Fields

port: Port

Port

display: Display

LCD Display

led_pin: Pa23<Input<Floating>>

Red Led

neopixel: Neopixel

Neopixel (RGB LED) pins

light_pin: Pb4<Input<Floating>>

Analog Light Sensor

i2c: I2C

I2C (connected to LIS3DH accelerometer and “Stemma” port)

sd_cs_pin: Pa14<Input<Floating>>

SD Card CS pin

battery: Battery

Battery Voltage

speaker: Speaker

Speaker (DAC not implemented in hal yet)

spi: SPI

SPI (connected to SD Card)

usb: USB

USB pins

uart: UART

UART (external pinout) pins

analog: Analog

Analog pins.

digital: Digital

Digital pins.

flash: QSPIFlash

Flash storage

buttons: Buttonsjoystick: Joystick

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.