16-Bit Timer Output Signal - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

11.7 16-bit Timer Output Signal

The 16-bit timer outputs underflow pulses when the counter underflows.
These pulses are used for timer interrupt requests.
These pulses are also used to generate the internal serial interface serial transfer clock.
Underflow signal
Timer output
(serial transfer clock)
Interrupt request to ITC
The clock generated is sent to the internal serial interface, as shown below.
16-bit timer Ch.1 output clock → SPI
16-bit timer Ch.2 output clock → I
Use the following equations to calculate the reload data register value for obtaining the desired transfer rate:
clk_in
TR = ———— - 1
SPI
bps × 2
clk_in
TR = ———— - 1
I
2
C
bps × 4
clk_in: Count clock (prescaler output clock) frequency [Hz]
TR:
Reload data (0 to 65535)
bps:
Transfer rate (bit/s)
S1C17001 TECHNICAL MANUAL
Figure 11.7.1: Timer output clock
C
2
EPSON
11 16-BIT TIMER (T16)
115

Advertisement

Table of Contents
loading

Table of Contents