Home
last modified time | relevance | path

Searched refs:sleep_time (Results 1 – 5 of 5) sorted by relevance

/hal_espressif-latest/components/hal/include/hal/
Dtouch_sensor_hal.h43 #define touch_hal_set_sleep_time(sleep_time) touch_ll_set_sleep_time(sleep_time) argument
50 #define touch_hal_get_sleep_time(sleep_time) touch_ll_get_sleep_time(sleep_time) argument
/hal_espressif-latest/components/hal/esp32/include/hal/
Dtouch_sensor_ll.h82 static inline void touch_ll_set_sleep_time(uint16_t sleep_time) in touch_ll_set_sleep_time() argument
85 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.sar_touch_ctrl2, touch_sleep_cycles, sleep_time); in touch_ll_set_sleep_time()
93 static inline void touch_ll_get_sleep_time(uint16_t *sleep_time) in touch_ll_get_sleep_time() argument
95 *sleep_time = HAL_FORCE_READ_U32_REG_FIELD(SENS.sar_touch_ctrl2, touch_sleep_cycles); in touch_ll_get_sleep_time()
/hal_espressif-latest/components/hal/esp32s2/include/hal/
Dtouch_sensor_ll.h69 static inline void touch_ll_set_sleep_time(uint16_t sleep_time) in touch_ll_set_sleep_time() argument
72 HAL_FORCE_MODIFY_U32_REG_FIELD(RTCCNTL.touch_ctrl1, touch_sleep_cycles, sleep_time); in touch_ll_set_sleep_time()
80 static inline void touch_ll_get_sleep_time(uint16_t *sleep_time) in touch_ll_get_sleep_time() argument
82 *sleep_time = HAL_FORCE_READ_U32_REG_FIELD(RTCCNTL.touch_ctrl1, touch_sleep_cycles); in touch_ll_get_sleep_time()
/hal_espressif-latest/components/hal/esp32s3/include/hal/
Dtouch_sensor_ll.h69 static inline void touch_ll_set_sleep_time(uint16_t sleep_time) in touch_ll_set_sleep_time() argument
72 HAL_FORCE_MODIFY_U32_REG_FIELD(RTCCNTL.touch_ctrl1, touch_sleep_cycles, sleep_time); in touch_ll_set_sleep_time()
80 static inline void touch_ll_get_sleep_time(uint16_t *sleep_time) in touch_ll_get_sleep_time() argument
82 *sleep_time = HAL_FORCE_READ_U32_REG_FIELD(RTCCNTL.touch_ctrl1, touch_sleep_cycles); in touch_ll_get_sleep_time()
/hal_espressif-latest/components/driver/touch_sensor/esp32/
Dtouch_sensor.c293 uint16_t sleep_time = 0; in touch_pad_config() local
299 touch_pad_get_measurement_interval(&sleep_time); in touch_pad_config()
304 …wait_time_ms = sleep_time / (rtc_clk_freq / 1000) + meas_cycle / (SOC_CLK_RC_FAST_FREQ_APPROX / 10… in touch_pad_config()