reset AIC
This commit is contained in:
parent
2a57bfea62
commit
66ba982b84
@ -66,6 +66,9 @@ void at91_init1(void)
|
|||||||
AT91S_AIC *aic = AT91C_BASE_AIC;
|
AT91S_AIC *aic = AT91C_BASE_AIC;
|
||||||
aic->AIC_DCR = AT91C_AIC_DCR_PROT;
|
aic->AIC_DCR = AT91C_AIC_DCR_PROT;
|
||||||
|
|
||||||
|
/* end-of-interrupt signal */
|
||||||
|
aic->AIC_EOICR = ~0;
|
||||||
|
|
||||||
/* Disable & clear all Interrupts */
|
/* Disable & clear all Interrupts */
|
||||||
aic->AIC_IDCR = ~0;
|
aic->AIC_IDCR = ~0;
|
||||||
aic->AIC_ICCR = ~0;
|
aic->AIC_ICCR = ~0;
|
||||||
|
Loading…
Reference in New Issue
Block a user