[][src]Module trinket_m0::sercom::v1::pad_map

Implementations of the pads Map trait

This module provides implementations of Map for the SAMD11 and SAMD21 series chips. Unlike the SAMD5x & SAME5x chips, the SAMD11 and SAMD21 chips do not have any concept of IOSET. A given SERCOM can use any combination of GPIO pins, so long as those pins can be configured as pads for that SERCOM.

This module implements Map directly on PinIds. For a given Sercom and PadNum, the Map trait identifies the correct PinMode for the PinId.