esp_idf_sys

Function esprv_int_get_type

Source
pub unsafe extern "C" fn esprv_int_get_type(
    intr_num: c_int,
) -> intr_type
Expand description

@brief Get the current type of an interrupt

Get the current type of a particular interrupt (level or edge). An interrupt’s type can be set by calling esprv_int_set_type().

@param intr_num Interrupt number @return Interrupt type