
181
CHAPTER 6 8/16-BIT UP/DOWN COUNTER/TIMER
6.5
Reload and Compare Functions
The 8/16-bit up/down counter/timer have the reload and compare functions. These two
functions can be combined for processing.
■
Example for selection of reload and compare function
Table 6.5-1 "Selecting the detection edge" shows an example for the selection of the reload/
compare function.
■
When the reload function is enabled
When the reload function is started, the value of the RCR is transferred to the UDCR with the
timing of the down count clock after an underflow. In this case, when UDFF is set, an interrupt
request is generated.
In a mode in which down counting is not performed, starting this function is invalid.
Figure 6.5-1 "Overview of the operation of the reload function" shows an overview of reload
function operation.
Figure 6.5-1 Overview of the operation of the reload function
Table 6.5-1 Selecting the detection edge
RLDE, UCRE
Reload/compare function
00
B
Disables reload/compare (initial value).
01
B
Enables compare.
10
B
Enables reload.
11
B
Enables reload/compare.
Reload, interrupt occur.
Reload, interrupt occur.
Underflow
Underflow
(0FFFF
H
)
RCR
0FF
H
00
H
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......