Trait serpente::sercom::v2::pad::IsPad[][src]

pub trait IsPad: AnyPin {
    type Sercom: Sercom;
    type PadNum: PadNum;
}
Expand description

Type class for Pins configured as SERCOM pads

This trait serves as both a type class for Pins configured as SERCOM pads and as a type-level function mapping each Pin type to its corresponding Sercom and PadNum.

Associated Types

Implementors

Extend implementations of IsPad from v2::Pins to v1::Pins