pub trait _esp_hal_gpio_Pin {
Show 13 methods // Required methods fn number(&self) -> u8; fn sleep_mode(&mut self, on: bool) -> &mut Self; fn set_alternate_function( &mut self, alternate: AlternateFunction ) -> &mut Self; fn is_listening(&self) -> bool; 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); // Provided method fn listen(&mut self, event: Event) { ... }
}

Required Methods§

source

fn number(&self) -> u8

source

fn sleep_mode(&mut self, on: bool) -> &mut Self

source

fn set_alternate_function(&mut self, alternate: AlternateFunction) -> &mut Self

source

fn is_listening(&self) -> bool

source

fn listen_with_options( &mut self, event: Event, int_enable: bool, nmi_enable: bool, wake_up_from_light_sleep: bool )

source

fn unlisten(&mut self)

source

fn clear_interrupt(&mut self)

source

fn is_pcore_interrupt_set(&self) -> bool

source

fn is_pcore_non_maskable_interrupt_set(&self) -> bool

source

fn is_acore_interrupt_set(&self) -> bool

source

fn is_acore_non_maskable_interrupt_set(&self) -> bool

source

fn enable_hold(&mut self, on: bool)

Provided Methods§

source

fn listen(&mut self, event: Event)

Implementors§

source§

impl<MODE, RA, IRA, PINTYPE, SIG, const GPIONUM: u8> Pin for GpioPin<MODE, RA, IRA, PINTYPE, SIG, GPIONUM>where RA: BankGpioRegisterAccess, IRA: InteruptStatusRegisterAccess, PINTYPE: PinType, SIG: GpioSignal,