
8-bit Timers
10-17
Timer n compare register (n = 4, 5, 6, 7, 8, 9, A, B)
Register symbol: TMnCMP
Address:
x'34001034 (n = 4), x'34001035 (n = 5), x'34001036 (n = 6),
x'34001037 (n = 7), x'34001038 (n = 8), x'34001039 (n = 9),
x'3400103A (n = A), x'3400103B (n = B)
Purpose:
This is the timer n compare register.
Bit No.
7
6
5
4
3
2
1
0
Bit
TMn TMn TMn TMn TMn TMn TMn TMn
name
CMP7 CMP6 CMP5 CMP4 CMP3 CMP2 CMP1 CMP0
Reset
0
0
0
0
0
0
0
0
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
This register sets the PWM output duty ratio.
The duty ratio is (value set in TMnCMP)/(value set in TMnBR + 1).
When data is written to this register, it is written in the compare register buffer.
The set value is loaded from the compare register buffer into the compare register under the following conditions:
(1)
When TMnLDE = 1
(2)
When an underflow was generated
When this register is read, the value that is actually in the compare register is read.
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...