14 8-BIT OSC1 TIMER (T8OSC1)
S1C17704 TECHNICAL MANUAL
EPSON
14-1
14 8-bit OSC1 Timer (T8OSC1)
14.1 Outline of the 8-bit OSC1 Timer
The S1C17704 incorporates one channel of 8-bit OSC1 timer that uses OSC1 as its clock source.
Figure 14.1.1 shows the structure of the 8-bit OSC1 timer.
Compare data register
T8OSC1_CMP
OSC1•1/1–1/32
Internal data bus
Compare match interrupt request
To ITC
Compare
match signal
Up counter
T8OSC1_CNT
Count
control circuit
Interrupt
control circuit
Comparator
Run/Stop control
T8ORUN
Timer reset
T8ORST
Count mode select
T8ORMD
Interrupt enable
T8OIE
8-bit OSC1 Timer
OSC
OSC1
oscillator/divider
Gate
Division ratio select
Figure 14.1.1 Structure of 8-bit OSC1 Timer
In the 8-bit OSC1 timer, an 8-bit up-counter (T8OSC1_CNT register) and an 8-bit compare data register
(T8OSC1_CMP register) are provided.
The 8-bit counter can be reset to 0 with software and counts up using an divided OSC1 clock (OSC1•1/1–OSC1•
1/32). The counter value can be read by software.
The compare data register is used to store the data to be compared with the content of the up-counter. When the
counter value matches to the content of the compare data register, the comparator outputs a signal that controls the
interrupt. Thus the register allows interrupt generating interval to be programmed.
Summary of Contents for S1C17704
Page 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Page 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Page 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...