ana_cmpr_get_gpio() function
Get the specific GPIO number of the analog comparator unit
Arguments
unit
The handle of analog comparator unit
chan_type
The channel type of analog comparator, like source channel or reference channel
gpio_num
The output GPIO number of this channel
Return value
- ESP_OK Get GPIO success - ESP_ERR_INVALID_ARG NULL pointer of the parameters or wrong unit number or wrong channel type
Examples
ana_cmpr_get_gpio() is referenced by 1 libraries and example projects: