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
sourcefn into_floating_ei(self) -> Self::Floating
 
fn into_floating_ei(self) -> Self::Floating
Configure a pin as a floating external interrupt
sourcefn into_pull_up_ei(self) -> Self::PullUp
 
fn into_pull_up_ei(self) -> Self::PullUp
Configure a pin as pulled-up external interrupt
sourcefn into_pull_down_ei(self) -> Self::PullDown
 
fn into_pull_down_ei(self) -> Self::PullDown
Configure a pin as pulled-down external interrupt