Crate trellis_m4
source · [−]Re-exports
Modules
Delays
GPIO
NeoTrellis M4 Express pins
Import the prelude to gain convenient access to helper traits
Real-time clock/counter
Configure the SERCOM peripherals
Delays with WFI sleep while we wait using a timer
Time units
helper struct to calculate divider & cycles settings for timers.
Structs
NeoTrellis M4 Express 8x4 keypad
Enums
ResetCause represents the reason the MCU was reset.
Constants
Number of Neopixels on the device
Functions
Convenience for setting up the labelled SDA, SCL pins to operate as an I2C master running at the specified frequency.
Returns the cause of the last reset.
Returns the serial number of the chip as an array of bytes. The serial number is only guaranteed to be unique if all 16 bytes are used.
Returns the serial number of the chip as 4 32-bit integers. The serial number is only guaranteed to be unique if all 128 bits are used.
Convenience for setting up the labelled SDA, SCL pins in the STEMMA JST connector to operate as a UART device at the specified baud rate.