16-Bit Timer Output Signal - Epson S1C17704 Technical Manual

Cmos 16-bit single chip microcomputer
Table of Contents

Advertisement

11.7 16-bit Timer Output Signal

The 16-bit timer outputs an underflow pulse when the counter underflows.
This pulse is used to request a timer interrupt.
Also this pulse is used to generate a serial transfer clock for the internal serial interface.
Underflow signal
(serial transfer clock)
Interrupt request to the ITC
The generated clocks are sent to the internal serial interfaces as below.
16-bit timer Ch.1 output clock → SPI
16-bit timer Ch.2 output clock → I
The reload data register value to obtain a desired transfer rate is calculated by the expression below.
clk_in
SPI
TR = ———— - 1
bps × 2
clk_in
2
C
I
TR = ———— - 1
bps × 2
clk_in: Count clock (prescaler output clock) frequency [Hz]
TR:
Reload data (0–65535)
bps:
Transfer rate (bits/second)
S1C17704 TECHNICAL MANUAL
Timer output
Figure 11.7.1 Timer Output Clock
2
C
EPSON
11 16-BIT TIMERS (T16)
11-9

Advertisement

Table of Contents
loading

Table of Contents