Fujitsu FR81S User Manual

Page of 2342
CHAPTER 22: 32-BIT OUTPUT COMPARE 
 
 
7. Q&A 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER
 : 32-BIT OUTPUT COMPARE 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
35 
7.11.2. 
PWM Output 
This section shows the PWM output. 
(Example) To calculate the PWM with OCU6,7, cycle: A, and duty 1/4   
A
A / 2
OCU1
 
Formula: 
FreeRunTimer.CPCLR = (A/2)-1 
Output Compare.OCCP6 = (A/2)×(1/2)-1 
Output Compare.OCCP7 = (A/2)×(1/4)-1 
Output Compare.OCSH67.CMOD = 1 
are setting. 
 
 
OCU7 
MB91520 Series
MN705-00010-1v0-E
872