Crate pyportal

Source

Re-exports§

pub use atsamd_hal as hal;
pub use hal::pac;
pub use pins::*;

Modules§

pins
PyPortal pins

Macros§

periph_alias
Refer to fields of the Peripherals struct by alternate names
pin_alias
Refer to fields of the Pins struct by alternate names

Functions§

esp_uart
UART is connected to the ESP32 Wi-Fi co-processor
i2c_master
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
spi_master
This powers up SERCOM2 and configures it for use as an SPI Master in SPI Mode 0. Unlike the flash_spi_master function, this one does not accept a CS pin; configuring a pin for CS is the responsibility of the caller, because it could be any OutputPin, or even a pulled up line on the slave.

Type Aliases§

EspUart
UART device for the ESP32 Wi-Fi co-processor
EspUartPads
UART Pads for the ESP32 Wi-Fi co-processor
EspUartSercom
Alias for the Sercom4 peripheral
I2c
I2C master for the labelled I2C peripheral
I2cPads
I2C pads for the labelled I2C peripheral
I2cSercom
Alias for the Sercom5 peripheral
Spi
SpiPads
SpiSercom
Alias for the Sercom2 peripheral

Attribute Macros§

entry