222
CHAPTER 9 12-BIT PPG TIMER
Figure 9.6-1 Setting Change during 12-bit PPG Timer Operation
●
Error
Because the counter start by program is asynchronous with the count-up start by the selected count clock,
an error (a time difference) may occur until detection of synchronization of compare values for the "H"
width and for the cycle period with a count by the counter. A major error may shorten the time before the
above synchronization to one count clock cycle.
Figure 9.6-2 illustrates an error (a time difference) before the count operation start.
Figure 9.6-2 Error before Count Operation Start
(RCR23,24:SCL0 to SCL11)
(RCR21,22:HSC0 to HSC11)
"FFF"
H
*
3
*
2
*
1
*
1
"00"
H
Overflow
Cycle period setting
"H" width setting
Count by counter
Extend by overflow
1 period
PPG output pulse waveform
Because the count interval of the operating counter is less than the changed setting, the setting is
effective only within the cycle.
*
1:
*
2: Because a cycle period less than the count interval of the operating counter is set, synchronization
is not detected and the counter overflows.
*
3: Because an "H" width less the count interval of the operating counter is set, synchronization is not
detected until the next cycle.
0
1
2
3
4
Count by counter
Count clock
1 cycle
Count 0
period
Counter start
Error
(time
difference)
Содержание F2MC-8L F202RA
Страница 2: ......
Страница 4: ......
Страница 32: ...16 CHAPTER 1 OVERVIEW ...
Страница 90: ...74 CHAPTER 3 CPU ...
Страница 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Страница 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Страница 174: ...158 CHAPTER 7 8 BIT PWM TIMER User processing POPW A XCHW A T Restoring A and T POPW A RETI ENDS ...
Страница 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Страница 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Страница 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Страница 258: ...242 CHAPTER 10 EXTERNAL INTERRUPT CIRCUIT 1 EDGE PUSHW A User processing POPW A XCHW A T POPW A RETI ENDS END ...
Страница 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Страница 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Страница 371: ...355 CHAPTER 16 WILD REGISTER FUNCTION 16 3 5 Data Test Set Register WROR A test register Do not access this register ...
Страница 390: ...374 CHAPTER 17 FLASH MEMORY ...
Страница 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 434: ...418 INDEX ...
Страница 436: ......