MC81F4204April 24, 2012 Ver.1.41 87EINTFEXTERNAL INTERRUPT FLAG REGISTER 00CDH7 6 5 4 3 2 1 0EINTFH EXT0IF EXT2IF EXT4IF EXT7IF EXT8IF EXT9IF EXT10IF EXT11IF Reset value: 00HR/W R/W R/W R/W R/W R/W R/W R/WEXT0IF EXT0 External Interrupt FlagEXT2IF EXT2 External Interrupt FlagEXT4IF EXT4 External Interrupt FlagEXT7IF EXT7 External Interrupt FlagEXT8IF EXT8 External Interrupt FlagEXT9IF EXT9 External Interrupt FlagEXT10IF EXT10 External Interrupt FlagEXT11IF EXT11 External Interrupt Flag0: Not generated1: Generated12.2 ProcedureTo generate external interrupt, following steps are required,1. Prepare external interrupt sub-routine.2. Set external interrupt pins to read mode3. Enable the external interrupt and select the edge mode.4. Make sure global interrupt is enabled(use ‘EI’ instruction).After finish above steps, the external interrupt sub-routine is calling, when the edge is detected.When the generated external interrupt is one of the external interrupt group, the EINTF register isused to recognize which external interrupt is generated.