Enum atsamd_hal::sercom::pad::UndocIoSet2
source · [−]pub enum UndocIoSet2 {}
Expand description
Type-level variant of IoSet
representing an undocumented SERCOM
IOSET
After implementing IoSet
type checking, it became clear that some
existing boards were using a combinations of pins that did not match any
IOSET in the datasheet. From that, we infer that there must be at least
two undocumented IOSETs, and we added these new IoSet
s to account for
it.
As of writing this documentation, only two undocumented IOSETs have been discovered:
UndocIoSet1
: PA16, PA17, PB22 & PB23 configured forSercom1
. Both the pygamer & feather_m4 uses this combination.UndocIoSet2
: PA00, PA01, PB22 & PB23 configured forSercom1
. The itsybitsy_m4 uses this combination.
See the type-level enum documentation for more details on type-level variants.
Trait Implementations
impl InIoSet<UndocIoSet2> for Pin<PA00, Alternate<D>>
impl InIoSet<UndocIoSet2> for Pin<PA01, Alternate<D>>
impl InIoSet<UndocIoSet2> for Pin<PB22, Alternate<C>>
impl InIoSet<UndocIoSet2> for Pin<PB23, Alternate<C>>
impl IoSet for UndocIoSet2
Auto Trait Implementations
impl RefUnwindSafe for UndocIoSet2
impl Send for UndocIoSet2
impl Sync for UndocIoSet2
impl Unpin for UndocIoSet2
impl UnwindSafe for UndocIoSet2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more