
16-bit Timers
11-2
11.1 Overview
This microcontroller has four 16-bit timers built in.
Three are reload timers (down-counters) that can be used as interval timers or event counters.
The other is an up-counter that has two compare/capture registers built in.
11.2 Features
The features of the 16-bit timers are described below.
Timer 10
• Up-counter
• Clock sources
An internal clock or an external clock can be selected as the clock source.
• Internal clock: IOCLK, 1/8 IOCLK, 1/32 IOCLK, or underflow in timers 0 to 2
• External clock: Counts the rising edge or falling edge of the input signal on the TM10IOB pin.
• Compare/capture register
Has two compare/capture registers built in.
• Pin output
Capable of PWM output with variable cycle and duty ratio. (One output)
Capable of PWM output with added bits. (Two outputs)
(Resolution: 8 + 2 bits, 8 + 3 bits, 8 + 4 bits, and 8 + 6 bits)
Capable of one-shot output. (Two outputs)
Polarity of pin output can be set.
• Input capture
Each pin can be set individually to rising edge, falling edge, or both edges. (Two inputs)
An interrupt request is generated upon capture.
When "both edges" is set, an interrupt request is generated at both the rising edge and the falling
edge.
• Interrupts
An interrupt request is generated when the binary counter overflows.
An interrupt request is generated when the compare register and the binary counter match, or when
capture occurs. (Two outputs)
• Counting start by external trigger
Counting can be started by input on the TM10IOB pin.
(Edge specification possible)
Timers 11, 12, and 13
• Reload timers (down-counters)
• Clock sources
An internal clock or an external clock can be selected as the clock source.
• Internal clock: IOCLK, 1/8 IOCLK, 1/32 IOCLK, or underflow in timers 0 to 2
• External clock: Counts the rising edge of the signal on the pin input.
• Interrupts
An interrupt request is generated when the binary counter underflows.
• Timer output
Output at 1/2 of the timer underflow is possible.
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 ...