Crate trellis_m4
Source pub use pins::Pins;
pub use adxl343;
pub use keypad;
pub use atsamd_hal as hal;
pub use hal::pac;
- delay
- Delays
- gpio
- GPIO
- pad
- pins
- NeoTrellis M4 Express pins
- prelude
- Import the prelude to gain convenient access to helper traits
- pwm
- rtc
- Real-time clock/counter
- sercom
- Configure the SERCOM peripherals
- sleeping_delay
- Delays with WFI sleep while we wait using a timer
- spi_commonDeprecated
- thumbv7em
- time
- Time units
- timer_params
- helper struct to calculate divider & cycles settings for timers.
- timer_traits
- Keypad
- NeoTrellis M4 Express 8x4 keypad
- ResetCause
- ResetCause represents the reason the MCU was reset.
- NEOPIXEL_COUNT
- Number of Neopixels on the device
- i2c_master
- Convenience for setting up the labelled SDA, SCL pins to
operate as an I2C master running at the specified frequency.
- reset_cause
- Returns the cause of the last reset.
- serial_number
- 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.
- split_serial_number
- 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.
- uart
- 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.
- entry