CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
User’s Manual U12688EJ4V0UM00
254
9.3
Control Registers
(1) Timer unit mode registers 10 to 15 (TUM10 to TUM15)
The TUM1n register is a register which controls the operation of timer 1 and specifies the capture/compare
register operation mode (n = 0 to 5).
These registers can be read/written in 16-bit units.
0
TUM11
FFFFF260H
0000H
0
OST1
ECLR
11
TES
111
TES
110
CES
111
CES
110
CMS
113
CMS
112
CMS
111
CMS
110
IMS
113
IMS
112
IMS
111
IMS
110
15
0
TUM10
Address
FFFFF240H
After reset
0000H
14
0
13
OST0
12
ECLR
10
11
TES
101
10
TES
100
9
CES
101
8
CES
100
7
CMS
103
6
CMS
102
5
CMS
101
4
CMS
100
3
IMS
103
2
IMS
102
1
IMS
101
0
IMS
100
0
TUM12
FFFFF280H
0000H
0
OST2
ECLR
12
TES
121
TES
120
CES
121
CES
120
CMS
123
CMS
122
CMS
121
CMS
120
IMS
123
IMS
122
IMS
121
IMS
120
0
TUM13
FFFFF2A0H
0000H
0
OST3
ECLR
13
TES
131
TES
130
CES
131
CES
130
CMS
133
CMS
132
CMS
131
CMS
130
IMS
133
IMS
132
IMS
131
IMS
130
0
TUM14
FFFFF2C0H
0000H
0
OST4
ECLR
14
TES
141
TES
140
CES
141
CES
140
CMS
143
CMS
142
CMS
141
CMS
140
IMS
143
IMS
142
IMS
141
IMS
140
0
TUM15
FFFFF2E0H
0000H
0
OST5
ECLR
15
TES
151
TES
150
CES
151
CES
150
CMS
153
CMS
152
CMS
151
CMS
150
IMS
153
IMS
152
IMS
151
IMS
150
Bit Position
Bit Name
Function
13
OSTn
Overflow Stop
Specifies the timer’s operation after overflow. This flag is valid only in TM1n.
0: Timer continues to count up after timer overflow.
1: Timer holds 0000H and is in the stopped state after timer overflow.
When this happens, the CE1 bit in the TMC1n register remains at 1.
Counting up resumes with the next operation.
When ECLR1n = 0: 1 write operation to the CE1n bit.
When ECLR1n = 1: Trigger input to the timer clear pin (TCLR1n).
12
ECLR1n
External Input Timer Clear
Clearing of the timer is enabled by the TM1n external clear input (TCLR1n).
0: Timer is not cleared by an external input.
1: TM1n is cleared by an external input.
Counting up starts after clearing.
Remark
n = 0 to 5
Summary of Contents for V850E/MS1 UPD703100
Page 2: ...User s Manual U12688EJ4V0UM00 2 MEMO ...
Page 6: ...User s Manual U12688EJ4V0UM00 6 MEMO ...
Page 8: ...User s Manual U12688EJ4V0UM00 8 MEMO ...
Page 12: ...User s Manual U12688EJ4V0UM00 12 MEMO ...
Page 26: ...User s Manual U12688EJ4V0UM00 26 MEMO ...
Page 68: ...User s Manual U12688EJ4V0UM00 68 MEMO ...
Page 124: ...User s Manual U12688EJ4V0UM00 124 MEMO ...
Page 198: ...User s Manual U12688EJ4V0UM00 198 MEMO ...
Page 230: ...User s Manual U12688EJ4V0UM00 230 MEMO ...