Function esp_idf_svc::sys::timer_group_intr_enable
source ยท pub unsafe extern "C" fn timer_group_intr_enable(
group_num: u32,
intr_mask: u32,
) -> i32
Expand description
@brief Enable timer group interrupt, by enable mask
@param group_num Timer group number, 0 for TIMERG0 or 1 for TIMERG1 @param intr_mask Timer interrupt enable mask. - TIMER_INTR_T0: t0 interrupt - TIMER_INTR_T1: t1 interrupt - TIMER_INTR_WDT: watchdog interrupt
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error