PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 289

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
setup_power_pwm( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
setup_power_pwm(modes, postscale, time_base, period, compare,
compare_postscale, dead_time)
modes values may be up to one from each group of the following:
PWM_CLOCK_DIV_4, PWM_CLOCK_DIV_16,
PWM_CLOCK_DIV_64, PWM_CLOCK_DIV_128
PWM_OFF, PWM_FREE_RUN, PWM_SINGLE_SHOT,
PWM_UP_DOWN, PWM_UP_DOWN_INT
PWM_OVERRIDE_SYNC
PWM_UP_TRIGGER,
PWM_DOWN_TRIGGER
PWM_UPDATE_DISABLE, PWM_UPDATE_ENABLE
PWM_DEAD_CLOCK_DIV_2,
PWM_DEAD_CLOCK_DIV_4,
PWM_DEAD_CLOCK_DIV_8,
PWM_DEAD_CLOCK_DIV_16
postscale is an integer between 1 and 16. This value sets the PWM time base
output postscale.
time_base is an integer between 0 and 65535. This is the initial value of the PWM base
period is an integer between 0 and 4095. The PWM time base is incremented until
it reaches this number.
compare is an integer between 0 and 255. This is the value that the PWM time
base is compared to, to determine if a special event should be triggered.
compare_postscale is an integer between 1 and 16. This postscaler affects
compare, the special events trigger.
dead_time is an integer between 0 and 63. This value specifies the length of an off
period that should be inserted between the going off of a pin and the going on of it
is a complementary pin.
undefined
Initializes and configures the motor control Pulse Width Modulation (PWM) module.
All devices equipped with PWM.
None
setup_power_pwm(PWM_CLOCK_DIV_4 | PWM_FREE_RUN |
None
set_power_pwm_override(), setup_power_pwm_pins(), set_power_pwmX_duty()
PWM_DEAD_CLOCK_DIV_4,1,10000,1000,0,1,0);
275

Related parts for PCDIDE COMPILER