gpio_config() function
GPIO common configuration Configure GPIO's Mode,pull-up,PullDown,IntrType
Arguments
pGPIOConfig
Pointer to GPIO configure struct
Return value
- ESP_OK success - ESP_ERR_INVALID_ARG Parameter error
Notes
This function always overwrite all the current IO configurations
Examples
gpio_config() is referenced by 30 libraries and example projects: