Module trinket_m0::sercom::v2
source ·
[−]Expand description
Version 2 of the SERCOM module
This module provides a new API for the SERCOM peripherals. So far, only the
pad
and spi
modules have been updated, but it is expected that the
uart
, and i2c
modules will eventually receive updates as well.
Modules
Type-level tools to configure SERCOM pads
Use a SERCOM peripheral for SPI transactions
A Future
-like interface for SPI transactions
Use the SERCOM peripheral for UART communications
Enums
Traits
Type-level function mapping OptionalPinId
s to their corresponding
OptionalPad
s
Type-level equivalent of Option<Pad>
Type-level equivalent of Option<PadNum>
Type-level enum representing a SERCOM pad number
Type-level enum
representing a Serial Communication Interface (SERCOM)
Type-level equivalent of Some(Pad)
Type Definitions
Type alias for the corresponding SERCOM instance
Type alias for the corresponding SERCOM instance
Type alias for the corresponding SERCOM instance
Type alias for the corresponding SERCOM instance