[−][src]Module pygamer::sercom::v2
Version 2 of the SERCOM module
This module provides a new API for the SERCOM peripherals. So far, only the
pads
module has been updated, but it is expected that the uart
, spi
and i2c
modules will receive updates as well.
Modules
pad_map | |
pads | Version 2 of the SERCOM pads module |
Structs
Pad | Represents a SERCOM Pad configured to use a particular pin |
Pads | Tuple struct containing all four |
Enums
IoSet1 | Represents the corresponding IOSET |
IoSet2 | Represents the corresponding IOSET |
IoSet3 | Represents the corresponding IOSET |
IoSet4 | Represents the corresponding IOSET |
IoSet5 | Represents the corresponding IOSET |
IoSet6 | Represents the corresponding IOSET |
Pad0 | Represents the corresponding SERCOM pad number |
Pad1 | Represents the corresponding SERCOM pad number |
Pad2 | Represents the corresponding SERCOM pad number |
Pad3 | Represents the corresponding SERCOM pad number |
Sercom0 | Represents the corresponding SERCOM instance |
Sercom1 | Represents the corresponding SERCOM instance |
Sercom2 | Represents the corresponding SERCOM instance |
Sercom3 | Represents the corresponding SERCOM instance |
Sercom4 | Represents the corresponding SERCOM instance |
Sercom5 | Represents the corresponding SERCOM instance |
Traits
AnyPad | Meta-type representing any |
IoSet | Type-level |
Map | |
OptionalPad | Meta-type representing an optional |
PadNum | Type-level |
Sercom | Type-level |
SomePad | Meta-type representing a valid |
Type Definitions
ConcretePad | Type alias to convert from an implementation of |
SERCOM | Type alias to extract the correct PAC SERCOM type
from the |