0X4222/0X4242/0X4262: 16-Bit Timer Ch.x Reload Data Registers (T16_Trx) - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

0x4222/0x4242/0x4262: 16-bit Timer Ch.x Reload Data Registers (T16_TRx)

Register name Address
Bit
16-bit Timer
0x4222
D15–0 TR[15:0]
Ch.x Reload
0x4242
Data Register
0x4262
(T16_TRx)
(16 bits)
Note: The "x" in the register names indicates the channel number (0 to 2).
0x4222: 16-bit Timer Ch.0 Reload Data Register (T16_TR0)
0x4242: 16-bit Timer Ch.1 Reload Data Register (T16_TR1)
0x4262: 16-bit Timer Ch.2 Reload Data Register (T16_TR2)
D[15:0]
TR[15:0]: 16-bit Timer Reload Data
Sets the counter initial value. (Default: 0x0)
The reload data set in this register is preset to the counter if the timer is reset or the counter underflows.
If the 16-bit timer is started after resetting, the timer counts down from the reload value (initial value).
This means this reload value and the input clock frequency determine the time elapsed from the point at
which the timer starts until the underflow occurs (or between underflows). The time determined is used
to obtain the desired wait time, the intervals between periodic interrupts, and the programmable serial
interface transfer clock.
S1C17001 TECHNICAL MANUAL
Name
Function
16-bit timer reload data
TR15 = MSB
TR0 = LSB
EPSON
11 16-BIT TIMER (T16)
Setting
Init. R/W
0x0 to 0xffff
0x0 R/W
Remarks
119

Advertisement

Table of Contents
loading

Table of Contents