![Samsung S3P80C5 User Manual Download Page 235](http://html1.mh-extra.com/html/samsung/s3p80c5/s3p80c5_user-manual_3993739235.webp)
TIMER 1
S3P80C5/C80C5/C80C8
11-4
TIMER 1 CONTROL REGISTER (T1CON)
The timer 1 control register, T1CON, is located in set 1, FAH, and is read/write addressable. T1CON contains
control settings for the following T1 functions:
— Timer 1 input clock selection
— Timer 1 operating mode selection
— Timer 1 16-bit down counter clear
— Timer 1 overflow interrupt enable/disable
— Timer 1 match interrupt enable/disable
— Timer 1 interrupt pending control (read for status, write to clear)
A reset operation clears T1CON to ‘00H’, selecting f
OSC
divided by 4 as the T1 clock, configuring timer 1 as a
normal interval timer, and disabling the timer 1 interrupts.
Timer 1 Control Register (T1CON)
FAH, R/W
.7
.6
.5
.4
.3
.2
.1
.0
MSB
LSB
Timer 1 counter clear bit:
0 = No effect
1 = Clear the timer 1 counter (when write)
Timer 1 input clock selection bits:
00 = f
OSC
/4
01 = f
OSC
/8
10 = f
OSC
/16
11 = Internal clock (T-F/F)
Timer 1 operating mode selection bits:
00 = Interval mode
01 = Overflow mode (OVF interrupt can occur)
01 = Overflow mode (OVF interrupt can occur)
01 = Overflow mode (OVF interrupt can occur)
Timer 1 overflow interrupt enable bit:
0 = Disable overflow interrupt
1 = Enable overflow interrupt
Timer 1 match interrupt enable bit:
0 = Disable interrupt
1 = Enable interrupt
Timer 1 match interrupt pending bit:
0 = No interrupt pending
0 = Clear pending bit (write)
1 = Interrupt is pending
Figure 11-3. Timer 1 Control Register (T1CON)
Summary of Contents for S3P80C5
Page 2: ...S3P80C5 C80C5 C80C8 8 BIT CMOS MICROCONTROLLERS USER S MANUAL Revision 1 ...
Page 5: ......
Page 13: ......
Page 15: ......
Page 17: ......
Page 19: ......
Page 49: ...ADDRESS SPACES S3P80C5 C80C5 C80C8 2 20 NOTES ...
Page 197: ...INSTRUCTION SET S3P80C5 C80C5 C80C8 6 88 NOTES ...
Page 201: ...CLOCK CIRCUITS S3P80C5 C80C5 C80C8 7 4 NOTES ...
Page 237: ...TIMER 1 S3P80C5 C80C5 C80C8 11 6 NOTES ...
Page 245: ...COUNTER A S3P80C5 C80C5 C80C8 12 8 NOTES ...
Page 255: ......
Page 257: ......
Page 259: ......
Page 261: ......