Module grand_central_m4::sercom::v2[][src]

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

Implementations of the IsPad, GetPad and InIoSet traits

Define a SERCOM pad type

Use the SERCOM peripheral for SPI transactions

A Future-like interface for SPI transactions

Use the SERCOM peripheral for UART communications

Enums

Type-level variant of IoSet representing SERCOM IOSET 1

Type-level variant of IoSet representing SERCOM IOSET 2

Type-level variant of IoSet representing SERCOM IOSET 3

Type-level variant of IoSet representing SERCOM IOSET 4

Type-level variant of IoSet representing SERCOM IOSET 5

Type-level variant of IoSet representing SERCOM IOSET 6

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 OptionalPinIds to their corresponding OptionalPads

Type-level function mapping PinIds to SERCOM-pad-related types

Type class for SERCOM pads in a given IoSet

Type-level enum representing a SERCOM IOSET

Type class for Pins 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 to recover a Pin configured as a SERCOM pad in the correct PadMode

Type alias using GetPad to recover the PinMode for a given SERCOM pad

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

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