- ESP_OK Allocate analog comparator unit handle success - ESP_ERR_NO_MEM No memory for the analog comparator structure - ESP_ERR_INVALID_ARG NULL pointer of the parameters or wrong unit number - ESP_ERR_INVALID_STATE The unit has been allocated or the clock source has been occupied
Examples
ana_cmpr_new_unit() is referenced by 1 libraries and example projects: