Return to previous page Return to menu Go to next page

● H-Blank-IN

Indicates the end of displaying one line. Timer 0 data is incremented at this timing.

■ Timer interrupt

Timer interrupts are timer 0 and timer 1. The timer interrupt can be generated at a dot (point) on the screen in synchronization with the blanking interrupt described above.

● Timer 0

The value is cleared when a V-blank-OUT interrupt is received, and is incremented when an H-blank-IN interrupt is received. Compared to the timer 0 compare register (see register details), a timer 0 interrupt is generated when the values ​​are the same. Figure 2.12 shows the timer 0 generation process.

Figure 2.12 Timer 0 interrupt generation process (example when compare register = 19)


Return to previous page Return to menu Go to next page