==========================================================================
===
List of generated methods in project: pwm_test
THIS TEXT DESCRIPTION IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
==========================================================================
===
Module "PWM2" (bean PWM)
- PWM2_SetRatio16 -This method sets a new duty-cycle ratio. Ratio is
expressed as a 16-bit unsigned integer number. 0 - FFFF
value is proportional to ratio 0 - 100%. The method is
available only if it is not selected list of predefined
values in <Starting pulse width> property. Note:
Calculated duty depends on the timer possibilities and on
the selected period.
- PWM2_SetDutyUS -This method sets the new duty value of the output
signal. The duty is expressed in microseconds as a
16-bit unsigned integer number. The method is available
only if it is not selected list of predefined values in
<Starting pulse width> property.
- PWM2_SetDutyMS -This method sets the new duty value of the output
signal. The duty is expressed in milliseconds as a
16-bit unsigned integer number. The method is available
only if it is not selected list of predefined values in
<Starting pulse width> property.
Module "PWMC1" (bean PWMMC)
- PWMC1_SetDuty -Setting duty (value) register(s) of selected channel.
The value is loaded after calling <Load> method.
Version specific information for Freescale 56800/E and
HC08 and HCS12 and HCS12X derivatives ] Setting is
valid for actual speed mode only, initial value is
restored after speed mode change. Version specific
information for Freescale HCS08 and ColdFireV1 derivatives
In center-align mode it is necessary to set both
odd and event duty registers separatelly. ] Duty
register(s) value is not affected during speed mode change.
It should be handled by the user code. Version specific
information for Freescale 56800/E derivatives -
eFlexPWM device ] Duty register(s) value is not affected
during speed mode change. It should be handled by
the user code.
- PWMC1_SetDutyPercent -Setting duty (value) in percent of selected
channel. The value is loaded after calling <Load> method.
Version specific information for Freescale 56800/E and
HC08 and HCS12 and HCS12X derivatives ] Setting is
valid for actual speed mode only, initial value is
restored after speed mode change. Version specific
information for Freescale HCS08 and ColdFireV1 derivatives
] Settings is not affected during speed mode
change. It should be handled by the user code. Version
specific information for Freescale 56800/E derivatives
评论0