III PERIPHERAL BLOCK: 8-BIT PROGRAMMABLE TIMERS
B-III-3-2
EPSON
S1C33L03 FUNCTION PART
Uses of 8-Bit Programmable Timers
The down-counter of the 8-bit programmable timer cyclically outputs an underflow signal according to the preset
data that is set in the software. This underflow signal is used to generate an interrupt request to the CPU or to
control the internal peripheral circuits. In addition, this signal can be output to external devices.
Furthermore, each 8-bit programmable timer generates a clock from the underflow signal by dividing it by 2, and
the resulting clock is output to a specific internal peripheral circuit.
CPU interrupt request/IDMA invocation request
Each timer's underflow condition can be used as an interrupt factor to output an interrupt request to the CPU.
Therefore, an interrupt can be generated at an interval that is set in the software.
This interrupt factor also can be used to invoke IDMA or HSDMA.
Clock output to external devices
The underflow signal can be output from the chip to the outside. This output can be used to control external
devices. The output pins of each timer are described in the preceding section.
Control of and clock supply to internal peripheral circuits
The following describes the functions controlled by the underflow signal from the 8-bit programmable timer
and the internal peripheral circuits that use the timer's output clock.
8-bit programmable timer 0
• DRAM refresh
When the BCU has a DRAM directly connected to its external bus, the underflow signal from timer 0
can be used as a DRAM refresh request signal. This enables the intervals of the refresh cycle to be
programmed.
To use this function, write "1" to the BCU's control bit RPC2 (D9) / Bus control register (0x4812E) to
enable the DRAM refresh.
• A/D conversion start trigger
The A/D converter enables a trigger for starting the A/D conversion to be selected from among four
available types. One of these is the underflow signal of the 8-bit programmable timer 0. This makes it
possible to perform the A/D conversion at programmable intervals.
To use this function, write "10" to the A/D converter control bit TS[1:0] (D[4:3]) / A/D trigger register
(0x40242) to select the 8-bit programmable timer 0 as the trigger.
8-bit programmable timer 1
• Oscillation stabilization wait time of the high-speed (OSC3) oscillation circuit
When SLEEP mode is cleared by an external interrupt, the high-speed (OSC3) oscillation circuit starts
oscillating. To prevent the CPU from being operated erratically by an unstable clock before the
oscillation stabilizes, the C33 Core Block enables setting of the waiting time before the CPU starts
operating after SLEEP is cleared. Use the 8-bit programmable timer 1 to generate this waiting time. If the
8-bit programmable timer 1 is set so that the timer is actuated when the high-speed (OSC3) oscillation
circuit starts oscillating the timer and, after the oscillation stabilization time elapses, an underflow signal
is generated, then the CPU can be started up by that underflow signal.
To use this function, write "0" to the oscillation circuit control bit 8T1ON (D2) / Clock option register
(0x40190) to enable the oscillation stabilization waiting function.
Summary of Contents for CMOS 32-Bit Single Chip Microcomputer S1C33L03
Page 4: ......
Page 14: ......
Page 15: ...S1C33L03 PRODUCT PART ...
Page 16: ......
Page 147: ...S1C33L03 FUNCTION PART ...
Page 148: ......
Page 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Page 150: ......
Page 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Page 164: ......
Page 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Page 264: ......
Page 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Page 416: ......
Page 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Page 436: ......
Page 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Page 494: ......
Page 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Page 532: ......
Page 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Page 580: ......