Configures an interrupt in the AIC.
Configures an interrupt in the AIC.
The interrupt is identified by its source (AT91C_ID_xxx) and is configured to use the specified mode and interrupt handler function. Mode is the value that will be put in AIC_SMRx and the function address will be set in AIC_SVRx. The interrupt is disabled before configuration, so it is useless to do it before calling this function. When
AIC_ConfigureIT returns, the interrupt will always be disabled and cleared; it must be enabled by a call to
AIC_EnableIT().