Upon an interrupt, you can read from the interrupt status register to see what caused the interrupt.
9 lines
123 B
Plaintext
9 lines
123 B
Plaintext
SEVEN_SEG = $7ff0
|
|
|
|
UART = $7ff4
|
|
UART_TXB = UART
|
|
UART_RXB = UART
|
|
UART_STATUS = UART + 1
|
|
|
|
IRQ_STATUS = $7fff
|