101-1006 Rabbit Semiconductor, 101-1006 Datasheet - Page 87

no-image

101-1006

Manufacturer Part Number
101-1006
Description
MODULE POWERCORE FLEX 3800
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-1006

Module/board Type
MPU Core Module
For Use With/related Products
RCM3800
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
DESCRIPTION
PARAMETERS
RETURN VALUE
User’s Manual
int triac_PhaseInitPWM(int channel, int pwm_level, int duty_
cycle, int options, unsigned long frequency);
Initializes a PWM channel for triac gate-signal power reduction.
channel
pwm_level
duty_cycle
options
frequency
0 = OK.
-1 = an invalid channel number is used.
-2 = an invalid duty cycle was requested.
-3 = frequency requested is out of range or invalid.
PWM_SPREAD sets pulse spreading. The duty cycle is spread over four separate pulses, and
PWM_OPENDRAIN sets the PWM output pin to be an open-drain output instead of a normal
0 sets the PWM for a normal push-pull logic output with no pulse spreading.
will increase the frequency by a factor of 4.
push-pull logic output.
the PWM channel (0–3) to use for triac gate-power reduction.
the PWM static output state for the triac gate signal. When triac
gate-power reduction is disabled,
selects the duty cycle (0–1024) to be used for triac gate-power
reduction.
sets the PWM control options. Use the following macro bit masks
to enable the selected option:
the PWM base frequency (in Hz). The base frequency is the fre-
quency without pulse spreading. Pulse spreading (see options
parameter) will increase the base frequency by a factor of 4.
triac_PhaseInitPWM
0 = sets PWM output low
1 = sets PWM output high.
79

Related parts for 101-1006