Expand description
wio-terminal
is a Board Support Package (BSP) which provides a type-safe
API for the Seeed Studio Wio Terminal.
This crate is essentially a thin wrapper for atsamd-hal, and re-exports it along with some of its members.
Re-exports§
pub use atsamd_hal as hal;
pub use atsamd_hal::pac;
pub use lis3dh::accelerometer;
Modules§
- aliases
Pin
aliases defined by thebsp_pins!
macro- prelude
- The prelude.
- wifi_
prelude - Imports necessary for using
wifi_singleton
. - wifi_
rpcs - The RPCs which can be called to control the wifi.
- wifi_
types
Macros§
- button_
interrupt - pin_
alias - Refer to fields of the
Pins
struct by alternate names - wifi_
singleton - Declares static globals for the wifi controller, and wires up interrupts.
Structs§
- Accelerometer
- I2C Accelerometer pins (uses
SERCOM4
) - Button
Controller - Button
Event - Button
Pins - pushbuttons and joystick
- Buzzer
- Buzzer pins
- Display
- ILI9341 LCD display pins (uses
SERCOM7
) - Header
Pins - Other pins broken out to the RPi-compatible header.
- Light
Sensor - Analog Light Sensor
- Microphone
- Microphone pins
- Pins
- BSP replacement for the HAL
Pins
type - QSPI
Flash - QSPI Flash pins (uses
SERCOM4
) - SDCard
- SD Card pins (uses
SERCOM6
) - SDCard
Controller - An initialized SPI SDMMC controller.
- Scroller
- Scroller must be provided in order to scroll the screen. It can only be obtained by configuring the screen for scrolling.
- Sets
- Sets of pins split apart by category
- Uart
- Uart pins (uses
SERCOM2
) - Usb
- USB pins
- Wifi
- eRPC-based protocol to the RTL8720 chip
- Wifi
Pins - The set of pins which are connected to the RTL8720 in some way
Enums§
Constants§
Type Aliases§
- HalUart
- UART device for the labelled RX & TX pins
- I2cPads
- I2C pads for the labelled I2C peripheral
- LCD
- Type alias for the ILI9341 LCD display.
- LcdPads
- LcdSpi
- SdPads
- SdSpi
- Uart
Pads - UART pads for the labelled RX & TX pins