203
CHAPTER 13 16-BIT I/O TIMER
13.4
Output Compare
The output compare module consists of two 16-bit compare registers, two compare
output pins, and one control register. If the value written to the compare register of this
module matches the 16-bit free-run timer value, the output level of the pin can be
reversed and an interrupt can be issued.
■
Output Compare
•
Four separate Output Compare Modules are available on MB90390 series.
•
For each module, two compare registers exist which can be used independently. Depending on the
mode setting, the two compare registers can be used to control pin outputs.
•
The initial value for each pin output can be specified separately.
•
An interrupt can be issued upon a match as a result of comparison.
•
One pulse width modulated signal can be generated for each module.
•
Three pulse width modulated signals are possible for each of the two Free-run Timers.
■
Output Compare Block Diagram
Figure 13.4-1 shows a block diagram of output compare.
Figure 13.4-1 Output Compare Block Diagram
ICP1
ICP0 ICE1 ICE0
Bus
16-bit timer counter value (T15 to T00)
Compare control
16-bit timer counter value (T15 to T00)
Compare control
Compare register 1
Controller
Control blocks
Compare register 0
T
Q
OTE0
OUT0
CMOD0
T
Q
OTE1
OUT1
Compare 1
Compare 0
interrupt
interrupt
CMOD1
CMP0EXT / CMP4EXT
Note: The figure above is also valid for Output Compare Unit 2/3, 4/5, and 6/7
Figure 13.4-5 sho
w
s the block diagram of output selection (OCU Module 1)
Содержание MB90390 Series
Страница 2: ......
Страница 4: ......
Страница 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Страница 18: ...xiv ...
Страница 132: ...104 CHAPTER 5 CLOCKS ...
Страница 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Страница 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Страница 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Страница 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Страница 274: ...246 CHAPTER 15 WATCH TIMER ...
Страница 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Страница 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Страница 364: ...336 CHAPTER 19 UART0 UART1 ...
Страница 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Страница 432: ...404 CHAPTER 20 UART2 UART3 ...
Страница 482: ...454 CHAPTER 22 SERIAL I O ...
Страница 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Страница 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Страница 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Страница 722: ...694 APPENDIX ...
Страница 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 740: ......