11.07.2015 Views

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

uPD789074 Subseries 8-Bit Single-Chip Microcontrollers UD - Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 10 INTERRUPT FUNCTIONS(3) External interrupt mode register 0 (INTM0)INTM0 is used to specify a valid edge for INTP0 to INTP2.INTM0 is set with an 8-bit memory manipulation instruction.RESET input clears INTM0 to 00H.Figure 10-4. Format of External Interrupt Mode Register 0Symbol 7 6 5 4 3 2 1 0 Address After reset R/WINTM0ES21 ES20 ES11 ES10 ES01 ES00 0 0FFECH 00H R/WES21ES20INTP2 valid edge selection00110101Falling edgeRising edgeSetting prohibitedBoth rising and falling edgesES11ES10INTP1 valid edge selection00110101Falling edgeRising edgeSetting prohibitedBoth rising and falling edgesES01ES00INTP0 valid edge selection00110101Falling edgeRising edgeSetting prohibitedBoth rising and falling edgesCautions 1. <strong>Bit</strong>s 0 and 1 must both be set to 0.2. Before setting INTM0, set the corresponding interrupt mask flag to 1 to disableinterrupts.To enable interrupts, clear to 0 the corresponding interrupt request flag, then thecorresponding interrupt mask flag.156User’s Manual U14801EJ3V1<strong>UD</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!