
243
CHAPTER 12 16-BIT RELOAD TIMER
12.5
16-Bit Reload Timer Interrupts
The 16-bit reload timer is enabled to generate an interrupt request in an underflow of
the counter. It is also coordinated with the extended intelligent I/O service (EI
2
OS).
■
16-bit Reload Timer Interrupts
Table 12.5-1 lists the interrupt control bits and interrupt causes of the 16-bit reload timer.
In the 16-bit reload timer, the UF bit of the timer control status register (TMCSRL0/TMCSRL1) is set to
"1" by an underflow (from 0000
H
to FFFF
H
) of the down counter. If an interrupt request is enabled
(TMCSRL0/TMCSRL1:INTE = 1) in this operation, the interrupt request is output to the interrupt
controller.
■
16-bit Reload Timer Interrupts and EI
2
OS
Table 12.5-2 lists the 16-bit reload timer interrupts and EI
2
OS.
■
EI
2
OS Function of the 16-bit Reload Timer
Since the 16-bit reload timer has a circuit that coordinates with EI
2
OS, the counter can start EI
2
OS when an
underflow occurs.
However, EI
2
OS is available only when other peripheral functions sharing the interrupt control register
(ICR) do not use interrupts. For example, when 16-bit reload timer 0 uses EI
2
OS, interrupts of the
waveform generator 16-bit timer 0/1/2 counter borrow must be disabled.
Table 12.5-1 Interrupt Control Bits and Interrupt Causes of the 16-bit Reload Timer
16-bit reload timer 0
16-bit reload timer 1
Interrupt request flag bit
TMCSRL0: UF
TMCSRL1: UF
Interrupt request enable bit TMCSRL0: INTE
TMCSRL1: INTE
Interrupt cause
Underflow of the 16-bit down counter (TMR0) Underflow of the 16-bit down counter (TMR1)
Table 12.5-2 16-bit Reload Timer Interrupts and EI
2
OS
Channel
Interrupt
number
Interrupt control register
Vector table address
EI
2
OS
Register name
Address
Lower
Middle
Upper
16-bit reload timer 0
*1
#30 (1E
H
)
ICR09
0000B9
H
FFFF84
H
FFFF85
H
FFFF86
H
O
16-bit reload timer 1
*2
#18 (12
H
)
ICR03
0000B3
H
FFFFB4
H
FFFFB5
H
FFFFB6
H
*1: The same interrupt number as that for waveform sequencer 16-bit timer counter borrow is assigned to 16-bit reload timer 0.
*2: The same interrupt number as that for output compare ch 2 match is assigned to 16-bit reload timer 1.
Содержание 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: ......