Download GPL162002A/162003A Programming Guide
Transcript
GPL162002A/162003A Programming Guide 6 Interrupt 6.1 Introduction GPL162002A/162003A provides many interrupt sources, which can also be wake-up sources. In other words, after system enters wait, halt, or sleep mode, an interrupt event will wake CPU up. For interrupt and wake-up capability from different modes, please refer to following table: Interrupt Wakeup Capability Table for each mode l a i e t n s e U d i f n 司 o C 公 s 限 u 有 l p 份 l a r e 股 n e 技 G 科 格 普 Interrupt / Wakeup Source Wait Mode Halt Mode y l n O Sleep Mode PortB[2:0] key change wakeup O O O EXTA wakeup O O O EXTB wakeup O O O DMA Transfer Complete Interrupt O X X USB Interrupt O X X I2C Transmit/Receive Interrupt O X X NAND Flash FIFO over/under flow interrupt O X X SD Controller Interrupt O X X Touch panel stylus tapped wakeup O O O UART/ IrDA receive wakeup O X X Serial Peripheral Interface (SPI) receive wakeup O X X LCD frame pulse (rising edge) wakeup O X X ADC Auto Sampling FIFO Full wakeup O X X TimerA wakeup O X X TimerB wakeup O X X TimerC wakeup O X X TimerD wakeup O X X Key Scan wakeup O X X TimebaseA wakeup O O X TimebaseB wakeup O O X TimebaseC wakeup O O X HMS (Hour/Minute/Second) wakeup O O X r o F Alarm wakeup O O X Scheduler wakeup O O X Low voltage detect wakeup O O X Audio Channel A FIFO Empty wakeup O X X Audio Channel B FIFO Empty wakeup O X X TFT Under Flow Error wakeup (note1) O X X TFT Frame End wakeup (note 1) O X X ADC Conversion Ready wakeup O X X O: Supported, X: Not Supported Note1: GPL162003 without TFT control interrupt wake up source. © Generalplus Technology Inc. PAGE 55 V1.0 – Dec. 20, 2006