Struct esp32_hal::gpio::Gpio1 [−][src]
pub struct Gpio1<MODE> { /* fields omitted */ }
Expand description
Pin
Implementations
Trait Implementations
Set pad as input Read more
Enable/Disable input circuitry
Enable/Disable input circuitry while in sleep mode
Get state of input
fn connect_input_to_peripheral_with_options(
&mut self,
signal: InputSignal,
invert: bool,
force_via_gpio_mux: bool
) -> &mut Self
fn connect_input_to_peripheral_with_options(
&mut self,
signal: InputSignal,
invert: bool,
force_via_gpio_mux: bool
) -> &mut Self
Connect input to peripheral Read more
Connect input to peripheral using default options Read more
Set pad to open drain output Read more
Set pad to push/pull output Read more
Enable/disable the output
Set the output to high or low
Set drive strength
Enable/Disable open drain
Set drive strength while in sleep mode
Enable/Disable internal pull up resistor while in sleep mode
Enable/Disable internal pull down resistor while in sleep mode
Enable/disable the output while in sleep mode
fn connect_peripheral_to_output_with_options(
&mut self,
signal: OutputSignal,
invert: bool,
invert_enable: bool,
enable_from_gpio: bool,
force_via_gpio_mux: bool
) -> &mut Self
fn connect_peripheral_to_output_with_options(
&mut self,
signal: OutputSignal,
invert: bool,
invert_enable: bool,
enable_from_gpio: bool,
force_via_gpio_mux: bool
) -> &mut Self
Connect peripheral to output Read more
Connect peripheral to output using default options Read more
type Error = Infallible
type Error = Infallible
Error type
Enable/Disable the sleep mode of the pad
Set the alternate function
fn listen_with_options(
&mut self,
event: Event,
pro_int: bool,
app_int: bool,
pro_nmi: bool,
app_nmi: bool,
wake_up_from_light_sleep: bool
)
fn listen_with_options(
&mut self,
event: Event,
pro_int: bool,
app_int: bool,
pro_nmi: bool,
app_nmi: bool,
wake_up_from_light_sleep: bool
)
Start listening to pin interrupt event Read more
Clear a pending interrupt
Check if interrupt for this pin is set for the current core
Check if the non maskable interrupt for this pin is set for the current core
Enable/Disable holding of the pads current state even through reset or deep sleep
Enable/Disable internal pull up resistor
Enable/Disable internal pull down resistor