[−][src]Crate pygamer
Re-exports
pub use cortex_m_rt::entry; |
pub use crate::pins::Pins; |
pub use hal::target_device as pac; |
Modules
clock | Configuring the system clock sources.
You will typically need to create an instance of |
delay | Delays |
gpio | Working with GPIO pins.
The pins are associated with the PORT hardware. This module
defines a |
pad | |
pins | PyGamer pins |
prelude | Import the prelude to gain convenient access to helper traits |
pwm | |
sercom | Working with the SERCOM peripherals. |
time | Time units |
timer | Working with timer counter hardware |
trng |
Functions
display | Convenience for accessing the on-board TFT LCD. |
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 SERCOM1 and configures it for use as an SPI Master in SPI Mode 0. This function 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. |
uart | Convenience for setting up UART on the FeatherWing socket’s RX/TX pins |