add uart1, uart2 and a common uart.h include

This commit is contained in:
Mariano Alvira 2011-07-04 14:07:12 -04:00
parent 6624ee04a1
commit 6b45e353e1
9 changed files with 276 additions and 15 deletions

View file

@ -73,6 +73,9 @@ void irq(void)
if(bit_is_set(pending, INT_NUM_UART1)) {
if(uart1_isr != 0) { uart1_isr(); }
}
if(bit_is_set(pending, INT_NUM_UART2)) {
if(uart2_isr != 0) { uart2_isr(); }
}
if(bit_is_set(pending, INT_NUM_CRM)) {
if(rtc_wu_evt() && (rtc_isr != 0)) { rtc_isr(); }
if(kbi_evnt(4) && (kbi4_isr != 0)) { kbi4_isr(); }