[][src]Crate wio_terminal

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::target_device as pac;
pub use lis3dh::accelerometer;

Modules

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
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

Map the desired pin names to their physical pins

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

Type Definitions

LCD

Type alias for the ILI9341 LCD display.

Attribute Macros

entry

Attribute to declare the entry point of the program