gpio_hal_get_io_config macro
Get the configuration for an IO
Syntax
#define gpio_hal_get_io_config(hal, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel) \
gpio_ll_get_io_config((hal)->dev, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel)
Arguments
hal
Context of the HAL layer
pu
Pointer to accept the status of pull-up enabled or not
pd
Pointer to accept the status of pull-down enabled or not
ie
Pointer to accept the status of input enabled or not
oe
Pointer to accept the status of output enabled or not
od
Pointer to accept the status of open-drain enabled or not
drv
Pointer to accept the value of drive strength
fun_sel
Pointer to accept the value of IOMUX function selection
sig_out
Pointer to accept the index of outputting peripheral signal
slp_sel
Pointer to accept the status of pin sleep mode enabled or not
![]()
#define gpio_hal_get_io_config(hal, gpio_num, pu, pd, ie, oe, od, drv, fun_sel, sig_out, slp_sel) \![]()
gpio_hal_get_io_config(gpio_context.gpio_hal, gpio_num, &pu, &pd, &ie, &oe, &od, &drv, &fun_sel, &sig_out, &slp_sel);