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§

aliases
Pin aliases defined by the bsp_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)
ButtonController
ButtonEvent
ButtonPins
pushbuttons and joystick
Buzzer
Buzzer pins
Display
ILI9341 LCD display pins (uses SERCOM7)
HeaderPins
Other pins broken out to the RPi-compatible header.
LightSensor
Analog Light Sensor
Microphone
Microphone pins
Pins
BSP replacement for the HAL Pins type
QSPIFlash
QSPI Flash pins (uses SERCOM4)
SDCard
SD Card pins (uses SERCOM6)
SDCardController
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
WifiPins
The set of pins which are connected to the RTL8720 in some way

Enums§

Button

Constants§

WIFI_UART_BAUD

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
UartPads
UART pads for the labelled RX & TX pins

Attribute Macros§

entry