Nintendo 1504166 Programming Manual - Page 106
Timer, Timer Setting, Timer Control
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 106 highlights
AGB Programming Manual Timer 11 Timer AGB is equipped with 4 channels of 16 bit timers. Of these, timers 0 and 1 can be used to set the interval for the supply of data from the FIFO(s) for direct sounds A and B. This interval is set by timer overflow. 1) Timer Setting Address Register 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value 100h TM0CNT_L R/W 0000h 104h TM1CNT_L 108h TM2CNT_L 10Ch TM3CNT_L 2) Timer Control Address 102h Register TM0CNT_H 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Attributes Initial Value 106h TM1CNT_H R/W 0000h 10Ah TM2CNT_H 10Eh TM3CNT_H Prescalar Selection Count-up Timing Interrupt Request Enable Flag 0: Disable 1: Enable Timer Operation Flag 0: Disable 1: Enable TM*CNT_H [d07] Timer Operation Flag Starts and stops the timer. A setting of 0 stops the timer, and a setting of 1 starts it. TM*CNT_H [d06] Interrupt Request Enable Flag Controls whether an interrupt request flag is generated by an overflow. No interrupt is generated with a setting of 0. An overflow does generate an interrupt if the setting is 1. ©1999 - 2001 Nintendo of America Inc. 106 D.C.N. AGB-06-0001-002B4