pub trait EicPin {
    type Floating;
    type PullUp;
    type PullDown;

    fn into_floating_ei(self) -> Self::Floating;
    fn into_pull_up_ei(self) -> Self::PullUp;
    fn into_pull_down_ei(self) -> Self::PullDown;
}
Expand description

The EicPin trait makes it more ergonomic to convert a gpio pin into an EIC pin. You should not implement this trait for yourself; only the implementations in the EIC module make sense.

Required Associated Types

Required Methods

Configure a pin as a floating external interrupt

Configure a pin as pulled-up external interrupt

Configure a pin as pulled-down external interrupt

Implementors