Epson S1C17624 Technical Manual page 130

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

If T16IE is set to 0 (interrupt disabled, default), no interrupt request will be sent to the ITC.
For specific information on interrupt processing, see the "Interrupt Controller (ITC)" chapter.
notes: • The T16 module interrupt flag T16IF must be reset in the interrupt handler routine after a T16
interrupt has occurred to prevent recurring interrupts.
• Reset T16IF before enabling T16 interrupts with T16IE to prevent occurrence of unwanted in-
terrupt. T16IF is reset by writing 1.
11.10
Control Register Details
address
0x4220
T16_CLK0
T16 Ch.0 Count Clock Select Register
0x4222
T16_TR0
T16 Ch.0 Reload Data Register
0x4224
T16_TC0
T16 Ch.0 Counter Data Register
0x4226
T16_CTL0
T16 Ch.0 Control Register
0x4228
T16_INT0
T16 Ch.0 Interrupt Control Register
0x4240
T16_CLK1
T16 Ch.1 Count Clock Select Register
0x4242
T16_TR1
T16 Ch.1 Reload Data Register
0x4244
T16_TC1
T16 Ch.1 Counter Data Register
0x4246
T16_CTL1
T16 Ch.1 Control Register
0x4248
T16_INT1
T16 Ch.1 Interrupt Control Register
0x4260
T16_CLK2
T16 Ch.2 Count Clock Select Register
0x4262
T16_TR2
T16 Ch.2 Reload Data Register
0x4264
T16_TC2
T16 Ch.2 Counter Data Register
0x4266
T16_CTL2
T16 Ch.2 Control Register
0x4268
T16_INT2
T16 Ch.2 Interrupt Control Register
The T16 registers are described in detail below. These are 16-bit registers.
note: When data is written to the registers, the "Reserved" bits must always be written as 0 and not 1.
T16 Ch.x Count Clock Select Registers (T16_ClKx)
Register name address
Bit
T16 Ch.x Count
0x4220
D15–4 –
Clock Select
0x4240
D3–0 DF[3:0]
Register
0x4260
(T16_ClKx)
(16 bits)
D[15:4]
Reserved
S1C17624/604/622/602/621 TeChniCal Manual
Table 11.
10.1 List of T16 Registers
Register name
name
Function
reserved
Count clock division ratio select
Seiko epson Corporation
Function
Selects a count clock.
Sets reload data.
Counter data
Sets the timer mode and starts/stops the timer.
Controls the interrupt.
Selects a count clock.
Sets reload data.
Counter data
Sets the timer mode and starts/stops the timer.
Controls the interrupt.
Selects a count clock.
Sets reload data.
Counter data
Sets the timer mode and starts/stops the timer.
Controls the interrupt.
Setting
DF[3:0]
Division ratio
0xf
reserved
0xe
1/16384
0xd
1/8192
0xc
1/4096
0xb
1/2048
0xa
1/1024
0x9
1/512
0x8
1/256
0x7
1/128
0x6
1/64
0x5
1/32
0x4
1/16
0x3
1/8
0x2
1/4
0x1
1/2
0x0
1/1
11 16-BiT TiMeRS (T16)
init. R/W
Remarks
0 when being read.
0x0 R/W Source clock = PCLK
11-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents