BASIC TIMER and TIMER 0
S3C80A5B
10-4
Timer 0 Control Register (T0CON)
D2H, Set 1, R/W
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
Timer 0 counter clear bit:
0 = No effect
1 = Clear the timer 0 counter (when write)
Timer 0 input clock selection bits:
00 = f
OSC
/4096
01 = f
OSC
/256
10 = f
OSC
/8
11 = External clock (P2.1/T0CK)
Timer 0 operating mode selection bits:
00 = Interval mode
01 = Overflow mode (OVF interrupt can occur)
10 = Overflow mode (OVF interrupt can occur)
11 = PWM mode (OVF interrupt can occur)
Timer 0 overflow interrupt enable bit:
0 = Disable overflow interrupt
1 = Enable overflow interrupt
Timer 0 match interrupt enable bit:
0 = Disable interrupt
1 = Enable interrupt
Timer 0 match interrupt pending bit:
0 = No interrupt pending
0 = Clear pending bit (write)
1 = Interrupt is pending
Figure 10-2. Timer 0 Control Register (T0CON)