Download ST2205U Integrated Microcontroller
Transcript
ST2205U interrupts are the same with those descriptions above. the PCM vector from locations $7FDC and $7FDD. PCM Interrupt The IRPCM (PCM interrupt request) flag will be set while reload signal of PCM timer occurs and data in 8X12bit FIFO is less than 4 word. Then the PCM interrupt will be executed if IEPCM (PCM interrupt enable) is set, and interrupt disable flag is cleared. Hardware will push ‘PC’, ‘P ’ Register to stack and set interrupt mask flag (I). Program counter will be loaded with 20/87 RTC Interrupts There are 4 interrupts for RTC: Minute interrupt, Hour interrupt, Day interrupt, and Alarm interrupt. Write “1” to each interrupt enable bit of register RCTR to turn on interrupts and read the request bits from the same register. Other sequences of UART interrupts are the same with those descriptions above.