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
- Type-level variant of
PadNum
representing SERCOM pad 0 - Type-level variant of
PadNum
representing SERCOM pad 1 - Type-level variant of
PadNum
representing SERCOM pad 2 - Type-level variant of
PadNum
representing SERCOM pad 3
Traits
- Type-level function mapping
OptionalPinId
s to their correspondingOptionalPad
s - Type-level function mapping
PinId
s to SERCOM-pad-related types - Type class for
Pin
s configured as SERCOM pads - 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