Crate wio_terminal
source ·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
- The prelude.
- Imports necessary for using
wifi_singleton
. - The RPCs which can be called to control the wifi.
Macros
- Refer to fields of the
Pins
struct by alternate names - Declares static globals for the wifi controller, and wires up interrupts.
Structs
- I2C Accelerometer pins (uses
SERCOM4
) - pushbuttons and joystick
- Buzzer pins
- ILI9341 LCD display pins (uses
SERCOM7
) - Other pins broken out to the RPi-compatible header.
- Analog Light Sensor
- Microphone pins
- BSP replacement for the HAL
Pins
type - QSPI Flash pins (uses
SERCOM4
) - SD Card pins (uses
SERCOM6
) - An initialized SPI SDMMC controller.
- Scroller must be provided in order to scroll the screen. It can only be obtained by configuring the screen for scrolling.
- Sets of pins split apart by category
- Uart pins (uses
SERCOM2
) - USB pins
- eRPC-based protocol to the RTL8720 chip
- The set of pins which are connected to the RTL8720 in some way
Enums
Constants
Type Definitions
- UART device for the labelled RX & TX pins
- I2C pads for the labelled I2C peripheral
- Type alias for the ILI9341 LCD display.
- UART pads for the labelled RX & TX pins