touch_pad_get_cnt_mode() function
Get touch sensor charge/discharge speed for each pad
Arguments
slope
pointer to accept touch pad charge/discharge slope
opt
pointer to accept the initial voltage
Return value
- ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong