AIC_ConfigureIT
Default mainpageat91libperipheralsaicAIC_ConfigureIT
Description Source Call Graph
AIC_ConfigureIT
Configures an interrupt in the AIC.
 
Syntax / parameters
void AIC_ConfigureIT (unsigned int source, unsigned int mode, void(*handler)(void))

Name Type Default Description
source unsigned int
  Interrupt source to configure.
mode unsigned int
  Triggering mode and priority of the interrupt.
handler void(*)(void)
  Interrupt handler function.
Description
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().
 
Source
The documentation for this Member was generated from the following files:
  • aic.c