touch_ll_set_sleep_time() function
Set touch sensor sleep time (interval of measurement).
Syntax
static inline void touch_ll_set_sleep_time(uint16_t sleep_time); Arguments
sleep_time
The touch sensor will sleep after each measurement. sleep_cycle decide the interval between each measurement. t_sleep = sleep_cycle / (RTC_SLOW_CLK frequency). The approximate frequency value of RTC_SLOW_CLK can be obtained using `rtc_clk_slow_freq_get_hz` function.
![]()
static inline void touch_ll_set_sleep_time(uint16_t sleep_time)
touch_ll_set_sleep_time() is called by 2 functions:
![]()
touch_ll_set_sleep_time()
touch_ll_set_sleep_time() reads 3 variables and writes 2 variables:
![]()
touch_ll_set_sleep_time()