
16-bit Timers
11-11
Timer n mode register (n = 11, 12, 13)
Register symbol: TMnMD
Address:
x'34001082 (n=11), x'34001084 (n=12), x'34001086 (n=13)
Purpose:
This register controls the operation of timer n.
Bit No.
7
6
5
4
3
2
1
0
Bit
TMn TMn
–
–
–
TMn TMn TMn
name
CNE LDE
CK2
CK1
CK0
Reset
0
0
0
0
0
0
0
0
Access
R/W
R/W
R
R
R
R/W
R/W
R/W
Bit No.
Bit name
Description
0
TMnCK0
Timer n clock source selection flag (LSB)
1
TMnCK1
Timer n clock source selection flag
2
TMnCK2
Timer n clock source selection flag (MSB)
These bits select the clock source for the timers.
When pin input is selected, counting occurs at the rising edge of the pin input.
For details on the clock sources for each timer, refer to Table 11-5-2, "16-bit Timer
Clock Sources".
5 to 3
—
"0" is returned when these bits are read.
6
TMnLDE
Timer n initialization flag
Initializes timer n.
0: Normal operation
1: Initialize
Loads the value in TMnBR into TMnBC, resets timer output n, and loads
the value in the compare register buffer into the compare register.
7
TMnCNE
Timer n operation enable flag
Enables/disables the timer n counting operation.
0: Operation disabled.
1: Operation enabled.
[Note]
When setting TMnCNE to "1", do so while TMnLDE is set to "0".
When setting TMnLDE to "1", do so while TMnCNE is set to "0".
Operation is not guaranteed if TMnCNE and TMnLDE are both set to "1" at the same time.
Table 11-5-2 16-bit Timer Clock Sources
TMnCK [2:0]
Timer 10
Timer 11
Timer 12
Timer 13
Setting value
000
IOCLK
IOCLK
IOCLK
IOCLK
001
IOCLK/8
IOCLK/8
IOCLK/8
IOCLK/8
010
IOCLK/32
IOCLK/32
IOCLK/32
IOCLK/32
011
Setting prohibited
Setting prohibited
Setting prohibited
Setting prohibited
100
Timer 0 underflow
Timer 0 underflow
Timer 0 underflow
Timer 0 underflow
101
Timer 1 underflow
Timer 1 underflow
Timer 1 underflow
Timer 1 underflow
110
Timer 2 underflow
Timer 2 underflow
Timer 2 underflow
Timer 2 underflow
111
TM10IOB pin input
TM11IO pin input
TM12IO pin input
TM13IO pin input
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...