
242
CHAPTER 9 MULTIFUNCTIONAL TIMER
9.4.2
Operation of 16-bit Output Compare
The 16-bit output compare compares the set compare register value with the value of
the 16-bit free-run timer. If the values match, the compare can set an interrupt flag and
reverse the output level.
■
Explanation of 16-bit output compare operation
❍
CMOD = 0
A compare operation can be performed independently with a single channel. (When CMOD = 0)
Figure 9.4-5 "Example of the output waveform when compare registers 0 and 1 are Used (At the
beginning of output, 0 is assumed.)" shows an example of the output waveform when compare
registers 0 and 1 are used (at the beginning of output, a value of "0" is assumed).
Figure 9.4-5 Example of the output waveform when compare registers 0 and 1 are used
(At the beginning of output, 0 is assumed.)
❍
1 when CMOD=1
The output level can be changed by using two pairs of compare registers. (1 when CMOD = 1)
Figure 9.4-6 "Example of the output waveform when compare registers 0 and 1 are used (At the
beginning of output, 0 is assumed.)" is an example of the output waveform when compare
registers 0 and 1 are used (at the beginning of output, a value of "0" is assumed).
7FFFh
FFFFh
BFFFh
3FFFh
0 0 0 0 h
0
1
R T 0 0
R T 0 1
7FFFh
BFFFh
Counter value
Time
Reset
Compare register
Compare register
Compare 0 interrupt
Compare 1 interrupt
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: ......