Struct esp32_hal::gpio::Gpio4[][src]

pub struct Gpio4<MODE> { /* fields omitted */ }
Expand description

Pin

Implementations

Trait Implementations

Channel ID type Read more

Get the specific ID that identifies this channel, for example 0_u8 for the first ADC channel, if Self::ID is u8. Read more

Set pad as input Read more

Enable/Disable input circuitry

Enable/Disable input circuitry while in sleep mode

Get state of input

Connect input to peripheral Read more

Connect input to peripheral using default options Read more

Error type

Is the input pin high?

Is the input pin low?

Error type

Is the input pin high?

Is the input pin low?

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

Connect peripheral to output Read more

Connect peripheral to output using default options Read more

Error type

Drives the pin high Read more

Drives the pin low Read more

Drives the pin high or low depending on the provided value Read more

Error type

Drives the pin high Read more

Drives the pin low Read more

Drives the pin high or low depending on the provided value Read more

Enable/Disable the sleep mode of the pad

Set the alternate function

Start listening to pin interrupt event Read more

Stop listening to all pin interrupts

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

Start listening to pin interrupt event Read more

Enable/Disable internal pull up resistor

Enable/Disable internal pull down resistor

Enable/Disable the sleep mode of the RTC pad

Enable/Disable RTC input circuitry

Enable/Disable RTC input circuitry while in sleep mode

Get state of RTC input

Enable/disable the output

Set the output to high or low

Set drive strength

Enable/Disable open drain

Enable/disable the output while in sleep mode

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

Is the pin in drive high mode? Read more

Is the pin in drive low mode? Read more

Error type

Toggle pin output.

Error type

Toggle pin output.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.