driver: update touch sensor apis

This commit is contained in:
fuzhibo
2020-12-22 21:52:16 +08:00
committed by bot
parent e784469966
commit e51a7a6b6f
2 changed files with 12 additions and 6 deletions

View File

@@ -187,6 +187,7 @@ uint32_t touch_pad_read_intr_status_mask(void);
/**
* @brief Enable touch sensor interrupt by bitmask.
* @note This API can be called in ISR handler.
* @param int_mask Pad mask to enable interrupts
* @return
* - ESP_OK on success
@@ -195,6 +196,7 @@ esp_err_t touch_pad_intr_enable(touch_pad_intr_mask_t int_mask);
/**
* @brief Disable touch sensor interrupt by bitmask.
* @note This API can be called in ISR handler.
* @param int_mask Pad mask to disable interrupts
* @return
* - ESP_OK on success