|
|
|
Component
Init_PWM for HC08
Pulse Width Modulator (PWM)
Properties:
-
Component name - Name of the component.
-
Device - PWM device of the CPU.
-
Settings - Common PWM module settings
-
Channels - The property sets number of PWM channels
One Item of the list looks like:
Channel - Common PWM channel settings
-
Device - Selection of the channel device
-
Counter - PWM counter register used for PWM generation.
This item is influenced by the following properties: Device.
-
Clock settings - Clock/timing settings of the channel
-
PWM value - The property determines pulse width of the corresponding output PWM channel.
This item modifies the xPWMD0 - xPWMD7 bits in the PWMDRx registers.
-
Settings supported for HC908SR12 derivatives only.
-
Binary rate multiplier - Binary rate multiplier set number of narrow pulses witch are equally distributed among an 8-PWM-cycle frame.
This item modifies the xBRM[2:0] bits in the xPWM register.
-
PWM duty cycle - The property shows PWM duty cycle (for information only).
This item is influenced by the following properties: PWM value.
-
Pin - Channel pin/signal settings
-
Channel initialization - Initialization options of the channel
-
Channel enable - Enable/disable corresponding PWM counter and force the PWM channel x to 0.
This item modifies the PWMENx bits in the PWMCR register.
-
Initialization - Initialization options of the module
-
Call Init method - The Init method of the component may be called after power-on or reset (in initialization code) by PE.
yes - The Init method is called by PE
no - The Init method is not called by PE, it should be called in user's code
|