
183
CHAPTER 6 8/16-BIT UP/DOWN COUNTER/TIMER
Figure 6.5-3 Overview of the operation when the reload and compare functions are started
at the same time
An interrupt to the CPU can be generated at a compare match or at reload (underflow). These
interrupt outputs can be enabled separately.
The timing for reloading and clearing the UDCR is different during counting and when counting
is stopped.
•
During counting, if an event for reloading or clearing occurs, all the events are synchronized
with the counter clock (the figure shows the status when 0080h is reloaded).
•
When reloading and clearing occurs during counting, if counting is stopped in counter clock
synchronization wait state (state of waiting for the count input for synchronization), the reload
and clear operations are performed when counting is stopped (the figure shows the state
when 0080h is reloaded).
•
If reloading or clearing occurs while the counter is stopped, reload and clear are performed
when the event occurs (the figure shows the state when 0080h is reloaded).
Counter clear
Underflow
Compare match Compare match
Compare match
Reload
Reload
Reload
Counter clear
Underflow
Underflow
Counter clear
RCR
0FF
H
00
H
065h
066h
080h
081h
Synchronizes with this clock.
UDCR
Reload/clear event
Counter clock
065h
066h
080h
Enable (counting permitted)
UDCR
Reload/clear event
Counter clock
Count enable
Disable (counting prohibited)
Содержание MB91150 Series
Страница 1: ......
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Страница 174: ...158 CHAPTER 5 I O PORTS Note DDRI bit 6 is a test bit Always set the bit to 0 The value read from this bit is always 0 ...
Страница 178: ...162 CHAPTER 5 I O PORTS ...
Страница 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Страница 240: ...224 CHAPTER 8 PPG TIMER ...
Страница 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Страница 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Страница 362: ...346 CHAPTER 15 UART ...
Страница 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Страница 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Страница 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 510: ...494 INDEX ...
Страница 512: ......