Home
last modified time | relevance | path

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

12

/hal_espressif-3.6.0/components/driver/esp32s2/include/driver/
Dtouch_sensor.h101 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold);
111 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold);
156 esp_err_t touch_pad_config(touch_pad_t touch_num);
172 touch_pad_t touch_pad_get_current_meas_channel(void);
259 esp_err_t touch_pad_read_raw_data(touch_pad_t touch_num, uint32_t *raw_data);
270 esp_err_t touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark);
278 esp_err_t touch_pad_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth);
287 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num);
420 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled);
433 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count);
[all …]
/hal_espressif-3.6.0/components/driver/esp32s3/include/driver/
Dtouch_sensor.h101 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint32_t threshold);
111 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint32_t *threshold);
156 esp_err_t touch_pad_config(touch_pad_t touch_num);
172 touch_pad_t touch_pad_get_current_meas_channel(void);
259 esp_err_t touch_pad_read_raw_data(touch_pad_t touch_num, uint32_t *raw_data);
270 esp_err_t touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark);
278 esp_err_t touch_pad_filter_read_smooth(touch_pad_t touch_num, uint32_t *smooth);
287 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num);
420 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled);
433 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count);
[all …]
/hal_espressif-3.6.0/components/hal/esp32/include/hal/
Dtouch_sensor_ll.h48 static inline touch_pad_t touch_ll_num_wrap(touch_pad_t touch_num) in touch_ll_num_wrap()
188 static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t slope) in touch_ll_set_slope()
203 static inline void touch_ll_get_slope(touch_pad_t touch_num, touch_cnt_slope_t *slope) in touch_ll_get_slope()
214 static inline void touch_ll_set_tie_option(touch_pad_t touch_num, touch_tie_opt_t opt) in touch_ll_set_tie_option()
216 touch_pad_t touch_pad_wrap = touch_ll_num_wrap(touch_num); in touch_ll_set_tie_option()
226 static inline void touch_ll_get_tie_option(touch_pad_t touch_num, touch_tie_opt_t *opt) in touch_ll_get_tie_option()
228 touch_pad_t touch_pad_wrap = touch_ll_num_wrap(touch_num); in touch_ll_get_tie_option()
294 static inline void touch_ll_set_threshold(touch_pad_t touch_num, uint16_t threshold) in touch_ll_set_threshold()
296 touch_pad_t tp_wrap = touch_ll_num_wrap(touch_num); in touch_ll_set_threshold()
310 static inline void touch_ll_get_threshold(touch_pad_t touch_num, uint16_t *threshold) in touch_ll_get_threshold()
[all …]
/hal_espressif-3.6.0/components/driver/esp32s3/
Dtouch_sensor.c165 touch_pad_t IRAM_ATTR touch_pad_get_current_meas_channel(void) in touch_pad_get_current_meas_channel()
167 return (touch_pad_t)touch_hal_get_current_meas_channel(); in touch_pad_get_current_meas_channel()
236 esp_err_t touch_pad_config(touch_pad_t touch_num) in touch_pad_config()
288 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()
298 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()
308 esp_err_t IRAM_ATTR touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark) in touch_pad_read_benchmark()
319 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num) in touch_pad_reset_benchmark()
457 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled) in touch_pad_proximity_enable()
470 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count) in touch_pad_proximity_set_count()
480 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-3.6.0/components/hal/esp32s2/include/hal/
Dtouch_sensor_ll.h175 static inline void touch_ll_set_slope(touch_pad_t touch_num, touch_cnt_slope_t slope) in touch_ll_set_slope()
190 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()
641 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 …]
/hal_espressif-3.6.0/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 …]
/hal_espressif-3.6.0/components/driver/esp32s2/
Dtouch_sensor.c189 touch_pad_t IRAM_ATTR touch_pad_get_current_meas_channel(void) in touch_pad_get_current_meas_channel()
191 return (touch_pad_t)touch_hal_get_current_meas_channel(); in touch_pad_get_current_meas_channel()
260 esp_err_t touch_pad_config(touch_pad_t touch_num) in touch_pad_config()
308 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()
318 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()
328 esp_err_t IRAM_ATTR touch_pad_read_benchmark(touch_pad_t touch_num, uint32_t *benchmark) in touch_pad_read_benchmark()
339 esp_err_t touch_pad_reset_benchmark(touch_pad_t touch_num) in touch_pad_reset_benchmark()
478 esp_err_t touch_pad_proximity_enable(touch_pad_t touch_num, bool enabled) in touch_pad_proximity_enable()
491 esp_err_t touch_pad_proximity_set_count(touch_pad_t touch_num, uint32_t count) in touch_pad_proximity_set_count()
501 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-3.6.0/components/driver/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);
161 esp_err_t touch_pad_set_thresh(touch_pad_t touch_num, uint16_t threshold);
171 esp_err_t touch_pad_get_thresh(touch_pad_t touch_num, uint16_t *threshold);
/hal_espressif-3.6.0/components/touch_element/include/touch_element/
Dtouch_element_private.h62 touch_pad_t channel; //!< Touch channel number(index)
76 bool (*check_channel) (touch_pad_t);
79 void (*update_state) (touch_pad_t, te_state_t);
86 touch_pad_t shield_channel; //Waterproof shield channel
169 uint32_t te_read_smooth_signal(touch_pad_t channel_num);
172 esp_err_t te_dev_init(te_dev_t **device, uint8_t device_num, te_dev_type_t type, const touch_pad_t
179 bool te_object_check_channel(const touch_pad_t *channel_array, uint8_t channel_sum);
Dtouch_matrix.h42 const touch_pad_t *x_channel_array; //!< Matrix button x-axis channels array
43 const touch_pad_t *y_channel_array; //!< Matrix button y-axis channels array
/hal_espressif-3.6.0/components/driver/
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-3.6.0/components/touch_element/test/
Dtest_touch_element.c49 static void test_waterproof_event_simulator(touch_pad_t guard_channel, touch_button_event_t guard_s…
72 static const touch_pad_t button_channel_array[12] = { in test_system_waterproof_guard()
86 const uint8_t BUTTON_CHANNEL_NUM = sizeof(button_channel_array) / sizeof(touch_pad_t); in test_system_waterproof_guard()
191 static void test_waterproof_event_simulator(touch_pad_t guard_channel, touch_button_event_t guard_s… in test_waterproof_event_simulator()
206 static const touch_pad_t button_channel_array[3] = { in test_integrat_btn_sld_mat()
216 static const touch_pad_t slider_channel_array[5] = { in test_integrat_btn_sld_mat()
230 static const touch_pad_t x_axis_channel[3] = { in test_integrat_btn_sld_mat()
235 static const touch_pad_t y_axis_channel[3] = { in test_integrat_btn_sld_mat()
250 const uint8_t BUTTON_CHANNEL_NUM = sizeof(button_channel_array) / sizeof(touch_pad_t); in test_integrat_btn_sld_mat()
251 const uint8_t SLIDER_CHANNEL_NUM = sizeof(slider_channel_array) / sizeof(touch_pad_t); in test_integrat_btn_sld_mat()
[all …]
Dtest_touch_matrix.c14 static const touch_pad_t x_axis_channel[3] = {
19 static const touch_pad_t y_axis_channel[3] = {
34 const uint8_t MATRIX_CHANNEL_NUM_X = sizeof(x_axis_channel) / sizeof(touch_pad_t);
35 const uint8_t MATRIX_CHANNEL_NUM_Y = sizeof(y_axis_channel) / sizeof(touch_pad_t);
44 static void test_matrix_channel_simulator(touch_pad_t channel, touch_matrix_event_t matrix_event);
90 touch_pad_t x_channel = te_matrix->device[pos_index / te_matrix->y_channel_num]->channel; in test_matrix_event_simulator()
91touch_pad_t y_channel = te_matrix->device[te_matrix->x_channel_num + (pos_index % te_matrix->y_cha… in test_matrix_event_simulator()
104 static void test_matrix_channel_simulator(touch_pad_t channel, touch_matrix_event_t matrix_event) in test_matrix_channel_simulator()
315touch_pad_t channel_1 = (channel_index_1 < MATRIX_CHANNEL_NUM_X) ? x_axis_channel[channel_index_1]… in test_matrix_random_channel_trigger()
316touch_pad_t channel_2 = (channel_index_2 < MATRIX_CHANNEL_NUM_X) ? x_axis_channel[channel_index_2]… in test_matrix_random_channel_trigger()
/hal_espressif-3.6.0/components/driver/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-3.6.0/components/hal/esp32s2/
Dtouch_sensor_hal.c60touch_pad_t prox_pad[SOC_TOUCH_PROXIMITY_CHANNEL_NUM] = {[0 ... (SOC_TOUCH_PROXIMITY_CHANNEL_NUM -… in touch_hal_deinit()
61 touch_ll_proximity_set_channel_num((const touch_pad_t *)prox_pad); in touch_hal_deinit()
121 bool touch_hal_enable_proximity(touch_pad_t touch_num, bool enabled) in touch_hal_enable_proximity()
124 touch_pad_t ch_num[SOC_TOUCH_PROXIMITY_CHANNEL_NUM] = {0}; in touch_hal_enable_proximity()
148 void touch_hal_sleep_channel_enable(touch_pad_t pad_num, bool enable) in touch_hal_sleep_channel_enable()
/hal_espressif-3.6.0/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-3.6.0/components/touch_element/
Dtouch_element.c90 touch_pad_t channel_num; //channel index
127 static float te_channel_get_equ_cap(touch_pad_t channel_num);
128 static uint32_t te_read_raw_signal(touch_pad_t channel_num);
138 static bool waterproof_channel_check(touch_pad_t channel_num);
140 static void waterproof_guard_update_state(touch_pad_t current_channel, te_state_t current_state);
141 static touch_pad_shield_driver_t waterproof_get_shield_level(touch_pad_t guard_channel_num);
286 static uint32_t te_read_raw_signal(touch_pad_t channel_num) in te_read_raw_signal()
299 uint32_t te_read_smooth_signal(touch_pad_t channel_num) in te_read_smooth_signal()
454 bool te_object_check_channel(const touch_pad_t *channel_array, uint8_t channel_sum) in te_object_check_channel()
456 touch_pad_t current_channel; in te_object_check_channel()
[all …]
Dtouch_button.c33 static bool button_channel_check(te_button_handle_t button_handle, touch_pad_t channel_num);
37 static void button_update_state(te_button_handle_t button_handle, touch_pad_t channel_num, te_state…
44 static bool button_object_check_channel(touch_pad_t channel_num);
47 static void button_object_update_state(touch_pad_t channel_num, te_state_t channel_state);
229 static bool button_object_check_channel(touch_pad_t channel_num) in button_object_check_channel()
265 static void button_object_update_state(touch_pad_t channel_num, te_state_t channel_state) in button_object_update_state()
304 static bool button_channel_check(te_button_handle_t button_handle, touch_pad_t channel_num) in button_channel_check()
314 static void button_update_state(te_button_handle_t button_handle, touch_pad_t channel_num, te_state… in button_update_state()
Dtouch_slider.c40 static bool slider_channel_check(te_slider_handle_t slider_handle, touch_pad_t channel_num);
47 static void slider_update_state(te_slider_handle_t slider_handle, touch_pad_t channel_num, te_state…
54 static bool slider_object_check_channel(touch_pad_t channel_num);
57 static void slider_object_update_state(touch_pad_t channel_num, te_state_t channel_state);
259 static bool slider_object_check_channel(touch_pad_t channel_num) in slider_object_check_channel()
296 static void slider_object_update_state(touch_pad_t channel_num, te_state_t channel_state) in slider_object_update_state()
335 static bool slider_channel_check(te_slider_handle_t slider_handle, touch_pad_t channel_num) in slider_channel_check()
367 static void slider_update_state(te_slider_handle_t slider_handle, touch_pad_t channel_num, te_state… in slider_update_state()
Dtouch_matrix.c35 static bool matrix_channel_check(te_matrix_handle_t matrix_handle, touch_pad_t channel_num);
39 static void matrix_update_state(te_matrix_handle_t matrix_handle, touch_pad_t channel_num, te_state…
47 static bool matrix_object_check_channel(touch_pad_t channel_num);
50 static void matrix_object_update_state(touch_pad_t channel_num, te_state_t channel_state);
268 static bool matrix_object_check_channel(touch_pad_t channel_num) in matrix_object_check_channel()
304 static void matrix_object_update_state(touch_pad_t channel_num, te_state_t channel_state) in matrix_object_update_state()
343 static bool matrix_channel_check(te_matrix_handle_t matrix_handle, touch_pad_t channel_num) in matrix_channel_check()
364 static void matrix_update_state(te_matrix_handle_t matrix_handle, touch_pad_t channel_num, te_state… in matrix_update_state()
/hal_espressif-3.6.0/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-3.6.0/components/hal/include/hal/
Dtouch_sensor_hal.h86 void touch_hal_set_meas_mode(touch_pad_t touch_num, const touch_hal_meas_mode_t *meas);
94 void touch_hal_get_meas_mode(touch_pad_t touch_num, touch_hal_meas_mode_t *meas);
221 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-3.6.0/components/hal/esp32/
Dtouch_sensor_hal.c43 void touch_hal_get_wakeup_status(touch_pad_t *pad_num) in touch_hal_get_wakeup_status()
50 *pad_num = (touch_pad_t)(__builtin_ffs(touch_mask) - 1); in touch_hal_get_wakeup_status()
/hal_espressif-3.6.0/components/driver/esp32/
Dtouch_sensor.c68 static esp_err_t _touch_pad_read(touch_pad_t touch_num, uint16_t *touch_value, touch_fsm_mode_t mod…
250 esp_err_t touch_pad_config(touch_pad_t touch_num, uint16_t threshold) in touch_pad_config()
320 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()
341 esp_err_t touch_pad_read(touch_pad_t touch_num, uint16_t *touch_value) in touch_pad_read()
356 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()
369 IRAM_ATTR esp_err_t touch_pad_read_filtered(touch_pad_t touch_num, uint16_t *touch_value) in touch_pad_read_filtered()

12