Epson S1C17624 Technical Manual page 170

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

D0
T8ORun: Timer Run/Stop Control Bit
Controls the timer Run/Stop.
1 (R/W): Run
0 (R/W): Stop (default)
The timer starts counting when T8ORUN is written as 1 and stops when written as 0. When the timer is
stopped, the counter data is retained until reset or until the next Run state.
T8OSC1 Counter Data Register (T8OSC1_CnT)
Register name address
Bit
T8OSC1
0x50c1
D7–0 T8OCnT[7:0] Timer counter data
Counter Data
(8 bits)
Register
(T8OSC1_CnT)
D[7:0]
T8OCnT[7:0]: Timer Counter Data Bits
Counter data can be read out. (Default: 0x0)
This register is read-only and cannot be written to.
note: The correct counter value may not be read out (reading is unstable) if the register is read while
counting is underway.
Obtain the counter value by one of the following methods:
• Read the counter value while the counter is halted.
• Read the counter twice in succession. Treat the value as valid if the values read are identical.
T8OSC1 Compare Data Register (T8OSC1_CMP)
Register name address
Bit
T8OSC1
0x50c2
D7–0 T8OCMP[7:0] Compare data
Compare Data
(8 bits)
Register
(T8OSC1_CMP)
D[7:0]
T8OCMP[7:0]: Compare Data
Sets compare data. (Default: 0x0)
The data set is compared against the counter data, and a compare match interrupt cause is generated if
the contents match. And the counter is reset to 0.
T8OSC1 interrupt Mask Register (T8OSC1_iMSK)
Register name address
Bit
T8OSC1
0x50c3
D7–1 –
interrupt Mask
(8 bits)
D0
Register
(T8OSC1_iMSK)
D[7:1]
Reserved
D0
T8Oie: T8OSC1 interrupt enable Bit
Enables or disables compare match interrupts.
1 (R/W): Interrupt enabled
0 (R/W): Interrupt disabled (default)
Setting T8OIE to 1 enables T8OSC1 interrupt requests to the ITC. Setting it to 0 disables interrupts.
T8OSC1 interrupt Flag Register (T8OSC1_iFlG)
Register name address
Bit
T8OSC1
0x50c4
D7–1 –
interrupt Flag
(8 bits)
D0
Register
(T8OSC1_iFlG)
D[7:1]
Reserved
S1C17624/604/622/602/621 TeChniCal Manual
name
Function
T8OCNT7 = MSB
T8OCNT0 = LSB
name
Function
T8OCMP7 = MSB
T8OCMP0 = LSB
name
Function
reserved
T8Oie
T8OSC1 interrupt enable
name
Function
reserved
T8OiF
T8OSC1 interrupt flag
Seiko epson Corporation
14 8-BiT OSC1 TiMeR (T8OSC1)
Setting
init. R/W
0x0 to 0xff
0x0
Setting
init. R/W
0x0 to 0xff
0x0 R/W
Setting
init. R/W
1 Enable
0 Disable
Setting
init. R/W
1 Cause of
0 Cause of
interrupt
interrupt not
occurred
occurred
Remarks
R
Remarks
Remarks
0 when being read.
0
R/W
Remarks
0 when being read.
0
R/W Reset by writing 1.
14-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17604S1c17622S1c17602S1c17621

Table of Contents