Function esp_idf_sys::touch_pad_get_status

source ยท
pub unsafe extern "C" fn touch_pad_get_status() -> u32
Expand description

@brief Get the touch sensor channel active status mask. The bit position represents the channel number. The 0/1 status of the bit represents the trigger status.

@return - The touch sensor status. e.g. Touch1 trigger status is status_mask & (BIT1).