Home
last modified time | relevance | path

Searched refs:touch_pad_t (Results 1 – 22 of 22) sorted by relevance

/hal_espressif-latest/components/driver/touch_sensor/esp32s3/include/driver/
Dtouch_sensor.h154 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold);
164 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold);
209 esp_err_t touch_pad_config(touch_pad_t touch_num);
225 touch_pad_t touch_pad_get_current_meas_channel(void);
312 esp_err_t touch_pad_read_raw_data(touch_pad_t touch_num, uint32_t *raw_data);
323 esp_err_t touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark);
331 esp_err_t touch_pad_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth);
340 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num);
473 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled);
486 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count);
[all …]
/hal_espressif-latest/components/driver/touch_sensor/esp32s2/include/driver/
Dtouch_sensor.h154 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold);
164 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold);
209 esp_err_t touch_pad_config(touch_pad_t touch_num);
225 touch_pad_t touch_pad_get_current_meas_channel(void);
312 esp_err_t touch_pad_read_raw_data(touch_pad_t touch_num, uint32_t *raw_data);
323 esp_err_t touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark);
331 esp_err_t touch_pad_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth);
340 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num);
473 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled);
486 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count);
[all …]
/hal_espressif-latest/components/hal/esp32/include/hal/
Dtouch_sensor_ll.h40 static inline touch_pad_t touch_ll_num_wrap(touch_pad_t touch_num) in touch_ll_num_wrap()
180 static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t 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()
206 static inline void touch_ll_set_tie_option(touch_pad_t touch_num, touch_tie_opt_t opt) in touch_ll_set_tie_option()
208 touch_pad_t touch_pad_wrap = touch_ll_num_wrap(touch_num); in touch_ll_set_tie_option()
218 static inline void touch_ll_get_tie_option(touch_pad_t touch_num, touch_tie_opt_t *opt) in touch_ll_get_tie_option()
220 touch_pad_t touch_pad_wrap = touch_ll_num_wrap(touch_num); in touch_ll_get_tie_option()
286 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint16_t threshold) in touch_ll_set_threshold()
288 touch_pad_t tp_wrap = touch_ll_num_wrap(touch_num); in touch_ll_set_threshold()
302 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint16_t *threshold) in touch_ll_get_threshold()
[all …]
Dtouch_sensor_hal.h131 void touch_hal_get_wakeup_status(touch_pad_t *pad_num);
/hal_espressif-latest/components/driver/touch_sensor/esp32s3/
Dtouch_sensor.c195 touch_pad_t IRAM_ATTR touch_pad_get_current_meas_channel(void) in touch_pad_get_current_meas_channel()
197 return (touch_pad_t)touch_hal_get_current_meas_channel(); in touch_pad_get_current_meas_channel()
266 esp_err_t touch_pad_config(touch_pad_t touch_num) in touch_pad_config()
314 esp_err_t IRAM_ATTR touch_pad_read_raw_data(touch_pad_t touch_num, uint32_t *raw_data) in touch_pad_read_raw_data()
324 esp_err_t IRAM_ATTR touch_pad_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth_data) in touch_pad_filter_read_smooth()
334 esp_err_t IRAM_ATTR touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark) in touch_pad_read_benchmark()
345 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num) in touch_pad_reset_benchmark()
483 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled) in touch_pad_proximity_enable()
496 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count) in touch_pad_proximity_set_count()
506 esp_err_t touch_pad_proximity_get_count(touch_pad_t touch_num, uint32_t *count) in touch_pad_proximity_get_count()
[all …]
/hal_espressif-latest/components/driver/touch_sensor/esp32s2/
Dtouch_sensor.c221 touch_pad_t IRAM_ATTR touch_pad_get_current_meas_channel(void) in touch_pad_get_current_meas_channel()
223 return (touch_pad_t)touch_hal_get_current_meas_channel(); in touch_pad_get_current_meas_channel()
292 esp_err_t touch_pad_config(touch_pad_t touch_num) in touch_pad_config()
340 esp_err_t IRAM_ATTR touch_pad_read_raw_data(touch_pad_t touch_num, uint32_t *raw_data) in touch_pad_read_raw_data()
350 esp_err_t IRAM_ATTR touch_pad_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth_data) in touch_pad_filter_read_smooth()
360 esp_err_t IRAM_ATTR touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark) in touch_pad_read_benchmark()
371 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num) in touch_pad_reset_benchmark()
510 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled) in touch_pad_proximity_enable()
523 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count) in touch_pad_proximity_set_count()
533 esp_err_t touch_pad_proximity_get_count(touch_pad_t touch_num, uint32_t *count) in touch_pad_proximity_get_count()
[all …]
/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()
182 static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope) in touch_ll_get_slope()
193 static inline void touch_ll_set_tie_option(touch_pad_t touch_num, touch_tie_opt_t opt) in touch_ll_set_tie_option()
204 static inline void touch_ll_get_tie_option(touch_pad_t touch_num, touch_tie_opt_t *opt) in touch_ll_get_tie_option()
318 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint32_t threshold) in touch_ll_set_threshold()
331 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint32_t *threshold) in touch_ll_get_threshold()
405 static inline uint32_t IRAM_ATTR touch_ll_read_raw_data(touch_pad_t touch_num) in touch_ll_read_raw_data()
472 static inline touch_pad_t IRAM_ATTR touch_ll_get_current_meas_channel(void) in touch_ll_get_current_meas_channel()
474 return (touch_pad_t)(SENS.sar_touch_status0.touch_scan_curr); in touch_ll_get_current_meas_channel()
633 static inline void IRAM_ATTR touch_ll_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth_da… in touch_ll_filter_read_smooth()
[all …]
Dtouch_sensor_hal.h448 bool touch_hal_enable_proximity(touch_pad_t touch_num, bool enabled);
515 void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable);
/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()
186 static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope) in touch_ll_get_slope()
201 static inline void touch_ll_set_tie_option(touch_pad_t touch_num, touch_tie_opt_t opt) in touch_ll_set_tie_option()
212 static inline void touch_ll_get_tie_option(touch_pad_t touch_num, touch_tie_opt_t *opt) in touch_ll_get_tie_option()
326 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint32_t threshold) in touch_ll_set_threshold()
339 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint32_t *threshold) in touch_ll_get_threshold()
413 static inline uint32_t IRAM_ATTR touch_ll_read_raw_data(touch_pad_t touch_num) in touch_ll_read_raw_data()
480 static inline touch_pad_t IRAM_ATTR touch_ll_get_current_meas_channel(void) in touch_ll_get_current_meas_channel()
482 return (touch_pad_t)(SENS.sar_touch_status0.touch_scan_curr); in touch_ll_get_current_meas_channel()
653 static inline void IRAM_ATTR touch_ll_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth_da… in touch_ll_filter_read_smooth()
[all …]
Dtouch_sensor_hal.h448 bool touch_hal_enable_proximity(touch_pad_t touch_num, bool enabled);
515 void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable);
/hal_espressif-latest/components/driver/touch_sensor/esp32/include/driver/
Dtouch_sensor.h28 esp_err_t touch_pad_config(touch_pad_t touch_num, uint16_t threshold);
48 esp_err_t touch_pad_read(touch_pad_t touch_num, uint16_t *touch_value);
65 esp_err_t touch_pad_read_filtered(touch_pad_t touch_num, uint16_t *touch_value);
83 esp_err_t touch_pad_read_raw_data(touch_pad_t touch_num, uint16_t *touch_value);
214 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint16_t threshold);
224 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint16_t *threshold);
/hal_espressif-latest/components/driver/touch_sensor/include/driver/
Dtouch_sensor_common.h43 esp_err_t touch_pad_io_init(touch_pad_t touch_num);
82 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 *…
113 esp_err_t touch_pad_get_wakeup_status(touch_pad_t *pad_num);
/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()
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()
121 esp_err_t touch_pad_io_init(touch_pad_t touch_num) in touch_pad_io_init()
180 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint16_t threshold) in touch_pad_set_thresh()
189 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold) in touch_pad_set_thresh()
202 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint16_t *threshold) in touch_pad_get_thresh()
209 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold) in touch_pad_get_thresh()
219 esp_err_t touch_pad_get_wakeup_status(touch_pad_t *pad_num) in touch_pad_get_wakeup_status()
/hal_espressif-latest/components/hal/
Dtouch_sensor_hal.c21 void touch_hal_config(touch_pad_t touch_num) in touch_hal_config()
42 void touch_hal_set_meas_mode(touch_pad_t touch_num, const touch_hal_meas_mode_t *meas) in touch_hal_set_meas_mode()
48 void touch_hal_get_meas_mode(touch_pad_t touch_num, touch_hal_meas_mode_t *meas) in touch_hal_get_meas_mode()
/hal_espressif-latest/components/hal/esp32s2/
Dtouch_sensor_hal.c53touch_pad_t prox_pad[SOC_TOUCH_PROXIMITY_CHANNEL_NUM] = {[0 ... (SOC_TOUCH_PROXIMITY_CHANNEL_NUM -… in touch_hal_deinit()
54 touch_ll_proximity_set_channel_num((const touch_pad_t *)prox_pad); in touch_hal_deinit()
114 bool touch_hal_enable_proximity(touch_pad_t touch_num, bool enabled) in touch_hal_enable_proximity()
117 touch_pad_t ch_num[SOC_TOUCH_PROXIMITY_CHANNEL_NUM] = {0}; in touch_hal_enable_proximity()
141 void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable) in touch_hal_sleep_channel_enable()
/hal_espressif-latest/components/hal/esp32s3/
Dtouch_sensor_hal.c53touch_pad_t prox_pad[SOC_TOUCH_PROXIMITY_CHANNEL_NUM] = {[0 ... (SOC_TOUCH_PROXIMITY_CHANNEL_NUM -… in touch_hal_deinit()
54 touch_ll_proximity_set_channel_num((const touch_pad_t *)prox_pad); in touch_hal_deinit()
114 bool touch_hal_enable_proximity(touch_pad_t touch_num, bool enabled) in touch_hal_enable_proximity()
117 touch_pad_t ch_num[SOC_TOUCH_PROXIMITY_CHANNEL_NUM] = {0}; in touch_hal_enable_proximity()
141 void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable) in touch_hal_sleep_channel_enable()
/hal_espressif-latest/components/hal/include/hal/
Dtouch_sensor_hal.h78 void touch_hal_set_meas_mode(touch_pad_t touch_num, const touch_hal_meas_mode_t *meas);
86 void touch_hal_get_meas_mode(touch_pad_t touch_num, touch_hal_meas_mode_t *meas);
213 void touch_hal_config(touch_pad_t touch_num);
Dtouch_sensor_types.h35 } touch_pad_t; typedef
216 touch_pad_t guard_ring_pad; /*!<Waterproof. Select touch channel use for guard pad.
286 touch_pad_t touch_num; /*!<Set touch channel number for sleep pad.
/hal_espressif-latest/components/hal/esp32/
Dtouch_sensor_hal.c35 void touch_hal_get_wakeup_status(touch_pad_t *pad_num) in touch_hal_get_wakeup_status()
42 *pad_num = (touch_pad_t)(__builtin_ffs(touch_mask) - 1); in touch_hal_get_wakeup_status()
/hal_espressif-latest/components/driver/touch_sensor/esp32/
Dtouch_sensor.c69 static esp_err_t _touch_pad_read(touch_pad_t touch_num, uint16_t *touch_value, touch_fsm_mode_t mod…
278 esp_err_t touch_pad_config(touch_pad_t touch_num, uint16_t threshold) in touch_pad_config()
359 static esp_err_t _touch_pad_read(touch_pad_t touch_num, uint16_t *touch_value, touch_fsm_mode_t mod… in _touch_pad_read()
380 esp_err_t touch_pad_read(touch_pad_t touch_num, uint16_t *touch_value) in touch_pad_read()
395 IRAM_ATTR esp_err_t touch_pad_read_raw_data(touch_pad_t touch_num, uint16_t *touch_value) in touch_pad_read_raw_data()
408 IRAM_ATTR esp_err_t touch_pad_read_filtered(touch_pad_t touch_num, uint16_t *touch_value) in touch_pad_read_filtered()
/hal_espressif-latest/components/esp_hw_support/include/
Desp_sleep.h201 touch_pad_t esp_sleep_get_touchpad_wakeup_status(void);
/hal_espressif-latest/components/esp_hw_support/
Dsleep_modes.c1492 touch_pad_t touch_num = TOUCH_PAD_NUM0;
1526 touch_pad_t esp_sleep_get_touchpad_wakeup_status(void)
1531 touch_pad_t pad_num;