
8-bit Timers
10-16
Timer n base register (n = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B)
Register symbol: TMnBR
Address:
x'34001010 (n = 0), x'34001011 (n = 1), x'34001012 (n = 2),
x'34001013 (n = 3), x'34001014 (n = 4), x'34001015 (n = 5),
x'34001016 (n = 6), x'34001017 (n = 7), x'34001018 (n = 8),
x'34001019 (n = 9), x'3400101A (n =A), x'3400101B (n = B)
Purpose:
This register sets the initial value of the timer n binary counter and the underflow cycle.
Bit No.
7
6
5
4
3
2
1
0
Bit
TMn TMn TMn TMn TMn TMn TMn TMn
name
BR7
BR6
BR5
BR4
BR3
BR2
BR1
BR0
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
The value that is set in TMnBR is loaded into TMnBC under the following conditions:
(1) When TMnLDE = 1
(2) When an underflow has occurred
TMnBC generates an underflow interrupt every (value set in TMnBR + 1) counts.
When PWM output has been selected for timers 4 to B, the PWM output cycle is set.
Timer n binary counter (n = 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B)
Register symbol: TMnBC
Address:
x'34001020 (n = 0), x'34001021 (n = 1), x'34001022 (n = 2),
x'34001023 (n = 3), x'34001024 (n = 4), x'34001025 (n = 5),
x'34001026 (n = 6), x'34001027 (n = 7), x'34001028 (n = 8),
x'34001029 (n = 9), x'3400102A (n = A), x'3400102B (n = B)
Purpose:
This register is the binary counter for timer n. The counter value can be read from this register.
Bit No.
7
6
5
4
3
2
1
0
Bit
TMn TMn TMn TMn TMn TMn TMn TMn
name
BC7
BC6
BC5
BC4
BC3
BC2
BC1
BC0
Reset
0
0
0
0
0
0
0
0
Access
R
R
R
R
R
R
R
R
This is a down counter.
The initial value for this register is the value that is set in TMnBR, and this register generates an underflow and an
interrupt request every (value set in TMnBR + 1) counts.
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 ...