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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
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 PCWHD IDE COMPILER