Trait serpente::prelude::EicPin[][src]

pub trait EicPin {
    type Floating;
    type PullUp;
    type PullDown;
    fn into_floating_ei(self, port: &mut Port) -> Self::Floating;
fn into_pull_up_ei(self, port: &mut Port) -> Self::PullUp;
fn into_pull_down_ei(self, port: &mut Port) -> 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.

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