
280
CHAPTER 14 MULTI-FUNCTIONAL TIMER
14.1
Overview of Multi-functional Timer
The multi-functional timer consists of a 16-bit free-run timer, six 16-bit output compare,
four 16-bit input capture, 1 channel of 16-bit PPG timer and a waveform generator. By
using this waveform generator, 12 independent waveform can be outputted through 16-
bit free-run timer. Furthermore input pulse width measurement and external clock cycle
measurement can be done.
■
16-bit Free-run Timer (
×
1)
•
The 16-bit free-run timer consists of a 16-bit up/up-down counter, control register, 16-bit compare clear
register (with buffer register) and a prescaler.
•
8 types of counter operation clock (
φ
,
φ
/2,
φ
/4,
φ
/8,
φ
/16,
φ
/32,
φ
/64,
φ
/128) can be selected (
φ
is the
machine clock).
•
Compare clear interrupt is generated when there is a compare match with compare clear register and 16-
bit free-run timer. Zero detection interrupt is generated while 16-bit free-run timer is detected as zero in
count value.
•
The compare clear register has a selectable buffer register, into which data is written for transfer to the
compare clear register. When the timer is stopped, transfer occurs immediately when the data is written
to the buffer. When the timer is operation, data transfer from the buffer occurs when the timer value is
detected to be zero.
•
Reset, software clear, compare match with compare clear register in up-count mode will reset the
counter value to "0000
H
".
•
The output value of this counter can be used as the count clock of the output compares and input
captures in multi-functional timer.
■
16-bit Output Compare (
×
6)
•
The output compare consists of six 16-bit compare registers (with selectable buffer register), compare
output latch and compare control registers. An interrupt is generated and output level is inverted when
the value of 16-bit free-run timer and compare register are matched.
•
6 compare registers can be operated independently.
Output pins and interrupt flag are corresponding to each compare register.
•
2 compare registers can be paired to control the output pins.
Inverts output pins by using 2 compare registers together.
•
Setting the initial value for each output pin is possible.
•
An interrupt is generated when output compare register is matched with 16-bit free-run timer.
Содержание MB90460 Series
Страница 1: ...The following document contains information on Cypress products ...
Страница 3: ......
Страница 5: ......
Страница 9: ...iv ...
Страница 41: ...22 CHAPTER 1 OVERVIEW ...
Страница 45: ...26 CHAPTER 2 NOTES ON HANDLING DEVICES ...
Страница 83: ...64 CHAPTER 3 CPU ...
Страница 95: ...76 CHAPTER 4 RESET ...
Страница 107: ...88 CHAPTER 5 CLOCK ...
Страница 131: ...112 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Страница 175: ...156 CHAPTER 7 INTERRUPT ...
Страница 181: ...162 CHAPTER 8 MODE SETTING ...
Страница 223: ...204 CHAPTER 9 I O PORT ...
Страница 237: ...218 CHAPTER 10 TIME BASE TIMER ...
Страница 247: ...228 CHAPTER 11 WATCHDOG TIMER ...
Страница 275: ...256 CHAPTER 12 16 BIT RELOAD TIMER ...
Страница 373: ...354 CHAPTER 14 MULTI FUNCTIONAL TIMER ...
Страница 485: ...466 CHAPTER 16 PWC Timer ...
Страница 531: ...512 CHAPTER 17 UART ...
Страница 559: ...540 CHAPTER 19 DELAYED INTERRUPT GENERATOR MODULE ...
Страница 589: ...570 CHAPTER 20 8 10 BIT A D CONVERTER ...
Страница 601: ...582 CHAPTER 21 ROM CORRECTION FUNCTION ...
Страница 633: ...614 CHAPTER 23 512K 1024K BIT FLASH MEMORY ...
Страница 645: ...626 CHAPTER 24 EXAMPLE OF F2 MC 16LX MB90F462 F462A F463A CONNECTION FOR SERIAL WRITING ...
Страница 715: ...696 APPENDIX ...
Страница 716: ...697 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 739: ......