III PERIPHERAL BLOCK: 8-BIT PROGRAMMABLE TIMERS
S1C33L03 FUNCTION PART
EPSON
B-III-3-1
A-1
B-III
8TM
III-3
8-BIT PROGRAMMABLE TIMERS
Configuration of 8-Bit Programmable Timer
The Peripheral Block contains six channels of 8-bit programmable timers (timers 0 to 5).
Figure 3.1 shows the structure of the 8-bit programmable timer.
Data bus
8-bit reload data register (RLDx)
8-bit down counter
Control registers
Control circuit
Data buffer (PTDx)
Underflow
Reload
Clock output
Underflow signal output
Underflow
interrupt
Interrupt
controller
Prescaler
Clock
generator
Figure 3.1 Structure of 8-Bit Programmable Timer
Each timer consists of an 8-bit presentable counter and can output a clock generated by the counter's underflow
signal to the internal peripheral circuits or external devices. The output clock cycle can be selected from a wide
range of cycles by setting the preset data that can be set in the software and the input clock in the prescaler.
Output Pins of 8-Bit Programmable Timers
The underflow signals of 8-bit programmable timers 0 to 3 can be output to external devices.
Table 3.1 shows the pins that are used to output the underflow signals of the 8-bit programmable timers to external
devices.
Table 3.1 Output Pins of 8-Bit Programmable Timers
Pin name
I/O
Function
Function select bit
P10/EXCL0/
T8UF0
I/O I/O port / 16-bit timer 0 event counter
input / 8-bit timer 0 output / DST0 output
CFP10(D0)/P1 function select register (0x402D4)
CFEX1(D1)/Port function extension register (0x402DF)
P11/EXCL1/
T8UF1
I/O I/O port / 16-bit timer 1 event counter
input / 8-bit timer 1 output / DST1 output
CFP11(D1/P1 function select register (0x402D4)
CFEX1(D1)/Port function extension register (0x402DF)
P12/EXCL2/
T8UF2
I/O I/O port / 16-bit timer 2 event counter
input / 8-bit timer 2 output / DST2 output
CFP12(D2/P1 function select register (0x402D4)
CFEX0(D0)/Port function extension register (0x402DF)
P13/EXCL3/
T8UF3
I/O I/O port / 16-bit timer 3 event counter
input / 8-bit timer 3 output / DPCO output
CFP13(D3/P1 function select register (0x402D4)
CFEX1(D1)/Port function extension register (0x402DF)
T8UFx (output pin of the 8-bit programmable timer)
This pin outputs a clock divided in each 8-bit programmable timer. The pulse width is equal to that of input
clock of the 8-bit programmable timer (prescaler output). Therefore, the pulse width varies according to the
prescaler setting.
How to set the output pins of the 8-bit programmable timer
All pins used by the 8-bit programmable timers are shared with I/O ports, event counter inputs of the 16-bit
programmable timers and debug signal outputs. At cold start, all these pins are set for the debug signal
outputs (function select bit CFP1[3:0] = "0", port extended function bit CFEX[1:0] = "1"). When using the
clock output function of the 8-bit programmable timer, write "0" to the port extended function bit CFEXx and
write "1" to the function select bit CFP1x for the corresponding pin.
Then, after setting the above, write "1" to the I/O port's I/O control bit IOC1x (D[3:0]) / P1 I/O control
register (0x402D6) to set to output mode. In input mode, the pin functions as the 16-bit programmable timer's
event counter input and cannot be used to output a clock of the 8-bit programmable timer. At cold start, the
register is set to input mode. At hot start, the register retains its status from prior to the reset.
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: ......