pub unsafe extern "C" fn esprv_int_set_type(
intr_num: c_int,
type_: intr_type,
)
Expand description
@brief Set interrupt type
Set the type of a particular interrupt (level or edge).
- Level interrupts are cleared automatically once their interrupt source has been cleared
- Edge interrupts must be cleared by software when they are handled.
@param intr_num Interrupt number @param type Interrupt type