Function esp_idf_svc::sys::timer_get_alarm_value

source ยท
pub unsafe extern "C" fn timer_get_alarm_value(
    group_num: u32,
    timer_num: u32,
    alarm_value: *mut u64,
) -> i32
Expand description

@brief Get timer alarm value.

@param group_num Timer group, 0 for TIMERG0 or 1 for TIMERG1 @param timer_num Timer index, 0 for hw_timer[0] & 1 for hw_timer[1] @param alarm_value Pointer of A 64-bit value to accept the alarm value.

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error