Function esp_idf_sys::touch_pad_clear_group_mask

source ·
pub unsafe extern "C" fn touch_pad_clear_group_mask(
    set1_mask: u16,
    set2_mask: u16,
    en_mask: u16,
) -> esp_err_t
Expand description

@brief Clear touch sensor group mask. Touch pad module has two sets of signals, Interrupt is triggered only if at least one of touch pad in this group is “touched”. This function will clear the register bits according to the given bitmask. @param set1_mask bitmask touch sensor signal group1, it’s a 10-bit value @param set2_mask bitmask touch sensor signal group2, it’s a 10-bit value @param en_mask bitmask of touch sensor work enable, it’s a 10-bit value @return - ESP_OK on success - ESP_ERR_INVALID_ARG if argument is wrong