Hi All,
I am looking at AT91RM9200 datasheets and I had some questions
regarding the USART interrupts.
I do the following in my code.
Code:
// Enable USART interrupts
AIC_IER = 1 << AT91C_US1_ID;
// Register interrupt handler
AIC_SVR[AT91C_US1_ID] = usart_interrupt_handler;
// Enable RxReady and TxReady interrupt
US1_IER = AT91C_US_RXRDY | AT91C_US_TXRDY;
What will happen if I do the following?
// Set the USART interrupt in the AIC Interrupt Set Command Register
AIC_ISCR = AT91C_US1_ID;
Will the USART interrupt be generated? What value will the USART
Channel status register be holding? (AT91C_US1_CSR)
Thanks,
Srikanth