Lines Matching refs:channel_num
45 int32_t channel_num; member
102 touch_hal_read_benchmark(channel_cfg->channel_num,
104 touch_hal_set_threshold(channel_cfg->channel_num,
120 channel_status = (pad_status >> channel_cfg->channel_num) & 0x01;
125 uint32_t channel_num = (uint32_t)touch_hal_get_current_meas_channel();
127 if (channel_cfg->channel_num == channel_num) {
202 if (!(channel_cfg->channel_num > 0 &&
203 channel_cfg->channel_num < SOC_TOUCH_SENSOR_NUM)) {
210 if (channel_cfg->channel_num == SOC_TOUCH_DENOISE_CHANNEL) {
217 gpio_num_t gpio_num = touch_sensor_channel_io_map[channel_cfg->channel_num];
224 touch_hal_config(channel_cfg->channel_num);
226 touch_hal_set_threshold(channel_cfg->channel_num, 0);
227 touch_hal_set_group_mask(BIT(channel_cfg->channel_num),
228 BIT(channel_cfg->channel_num));
230 touch_hal_set_channel_mask(BIT(channel_cfg->channel_num));
254 uint16_t touch_value = touch_hal_read_raw_data(channel_cfg->channel_num);
256 touch_hal_set_threshold(channel_cfg->channel_num,
257 touch_value * (100 - channel_cfg->channel_num) / 100);
299 .channel_num = DT_PROP(node_id, channel_num), \