pub trait Pin {
    fn number(&self) -> u8;
    fn sleep_mode(&mut self, on: bool) -> &mut Self;
    fn set_alternate_function(
        &mut self,
        alternate: AlternateFunction
    ) -> &mut Self; fn listen_with_options(
        &mut self,
        event: Event,
        int_enable: bool,
        nmi_enable: bool,
        wake_up_from_light_sleep: bool
    ); fn unlisten(&mut self); fn clear_interrupt(&mut self); fn is_pcore_interrupt_set(&self) -> bool; fn is_pcore_non_maskable_interrupt_set(&self) -> bool; fn is_acore_interrupt_set(&self) -> bool; fn is_acore_non_maskable_interrupt_set(&self) -> bool; fn enable_hold(&mut self, on: bool); fn listen(&mut self, event: Event) { ... } }

Required Methods

Provided Methods

Implementors