ESP-IDF
gpio_mode_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
gpio_mode_t
gpio_mode_t enum
Syntax
Show:
Summary
Declaration
from
gpio_types.h:95
enum
{
GPIO_MODE_DISABLE
=
GPIO_MODE_DEF_DISABLE
,
GPIO_MODE_INPUT
=
GPIO_MODE_DEF_INPUT
,
GPIO_MODE_OUTPUT
=
GPIO_MODE_DEF_OUTPUT
,
GPIO_MODE_OUTPUT_OD
=
(
(
GPIO_MODE_DEF_OUTPUT
)
|
(
GPIO_MODE_DEF_OD
)
)
,
GPIO_MODE_INPUT_OUTPUT_OD
=
(
(
GPIO_MODE_DEF_INPUT
)
|
(
GPIO_MODE_DEF_OUTPUT
)
|
(
GPIO_MODE_DEF_OD
)
)
,
GPIO_MODE_INPUT_OUTPUT
=
(
(
GPIO_MODE_DEF_INPUT
)
|
(
GPIO_MODE_DEF_OUTPUT
)
)
,
}
;
Values
Value
Declared as
Description
gpio_mode_t::GPIO_MODE_DISABLE
=
GPIO_MODE_DEF_DISABLE
GPIO mode : disable input and output.
gpio_mode_t::GPIO_MODE_INPUT
=
GPIO_MODE_DEF_INPUT
GPIO mode : input only.
gpio_mode_t::GPIO_MODE_OUTPUT
=
GPIO_MODE_DEF_OUTPUT
GPIO mode : output only mode.
gpio_mode_t::GPIO_MODE_OUTPUT_OD
=
(
(
GPIO_MODE_DEF_OUTPUT
)
|
(
GPIO_MODE_DEF_OD
)
)
GPIO mode : output only with open-drain mode.
gpio_mode_t::GPIO_MODE_INPUT_OUTPUT_OD
=
(
(
GPIO_MODE_DEF_INPUT
)
|
(
GPIO_MODE_DEF_OUTPUT
)
|
(
GPIO_MODE_DEF_OD
)
)
GPIO mode : output and input with open-drain mode.
gpio_mode_t::GPIO_MODE_INPUT_OUTPUT
=
(
(
GPIO_MODE_DEF_INPUT
)
|
(
GPIO_MODE_DEF_OUTPUT
)
)
GPIO mode : output and input mode.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out