Home
last modified time | relevance | path

Searched refs:slope (Results 1 – 9 of 9) sorted by relevance

/hal_espressif-latest/components/driver/touch_sensor/
Dtouch_sensor_common.c90 esp_err_t touch_pad_set_cnt_mode(touch_pad_t touch_num, touch_cnt_slope_t slope, touch_tie_opt_t op… in touch_pad_set_cnt_mode() argument
93 TOUCH_CHECK(slope < TOUCH_PAD_SLOPE_MAX, "touch slope error", ESP_ERR_INVALID_ARG); in touch_pad_set_cnt_mode()
97 .slope = slope, in touch_pad_set_cnt_mode()
107 esp_err_t touch_pad_get_cnt_mode(touch_pad_t touch_num, touch_cnt_slope_t *slope, touch_tie_opt_t *… in touch_pad_get_cnt_mode() argument
115 *slope = meas.slope; in touch_pad_get_cnt_mode()
/hal_espressif-latest/components/hal/
Dtouch_sensor_hal.c44 touch_ll_set_slope(touch_num, meas->slope); in touch_hal_set_meas_mode()
50 touch_ll_get_slope(touch_num, &meas->slope); in touch_hal_get_meas_mode()
/hal_espressif-latest/components/driver/touch_sensor/include/driver/
Dtouch_sensor_common.h82 esp_err_t touch_pad_set_cnt_mode(touch_pad_t touch_num, touch_cnt_slope_t slope, touch_tie_opt_t op…
93 esp_err_t touch_pad_get_cnt_mode(touch_pad_t touch_num, touch_cnt_slope_t *slope, touch_tie_opt_t *…
/hal_espressif-latest/components/hal/esp32/include/hal/
Dtouch_sensor_ll.h180 static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t slope) in touch_ll_set_slope() argument
182 RTCIO.touch_pad[touch_num].dac = slope; in touch_ll_set_slope()
195 static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope) in touch_ll_get_slope() argument
197 *slope = (touch_cnt_slope_t)RTCIO.touch_pad[touch_num].dac; in touch_ll_get_slope()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dtouch_sensor_ll.h167 static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t slope) in touch_ll_set_slope() argument
170 …SET_PERI_REG_BITS(RTC_CNTL_TOUCH_DAC_REG, RTC_CNTL_TOUCH_PAD0_DAC_V, slope, (RTC_CNTL_TOUCH_PAD0_D… in touch_ll_set_slope()
172 …SET_PERI_REG_BITS(RTC_CNTL_TOUCH_DAC1_REG, RTC_CNTL_TOUCH_PAD10_DAC_V, slope, (RTC_CNTL_TOUCH_PAD1… in touch_ll_set_slope()
186 static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope) in touch_ll_get_slope() argument
189 …*slope = GET_PERI_REG_BITS2(RTC_CNTL_TOUCH_DAC_REG, RTC_CNTL_TOUCH_PAD0_DAC_V, (RTC_CNTL_TOUCH_PAD… in touch_ll_get_slope()
191 …*slope = GET_PERI_REG_BITS2(RTC_CNTL_TOUCH_DAC1_REG, RTC_CNTL_TOUCH_PAD10_DAC_V, (RTC_CNTL_TOUCH_P… in touch_ll_get_slope()
/hal_espressif-latest/components/hal/include/hal/
Dtouch_sensor_hal.h31 … touch_cnt_slope_t slope; /*!<Set touch sensor charge/discharge speed(currents) for each pad.*/ member
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dtouch_sensor_ll.h167 static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t slope) in touch_ll_set_slope() argument
169 RTCIO.touch_pad[touch_num].dac = slope; in touch_ll_set_slope()
182 static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope) in touch_ll_get_slope() argument
184 *slope = (touch_cnt_slope_t)RTCIO.touch_pad[touch_num].dac; in touch_ll_get_slope()
/hal_espressif-latest/components/driver/touch_sensor/esp32s3/
Dtouch_sensor.c419 .slope = TOUCH_PAD_SLOPE_DEFAULT, in touch_pad_denoise_set_config()
/hal_espressif-latest/components/driver/touch_sensor/esp32s2/
Dtouch_sensor.c445 .slope = TOUCH_PAD_SLOPE_DEFAULT, in touch_pad_denoise_set_config()