PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 89
![PCD C-COMPILER PIC24, DSPIC](/photos/9/32/93268/pcd_command_line_compiler_sml.jpg)
PCD COMMAND LINE COMPILER
Manufacturer Part Number
PCD COMMAND LINE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
Specifications of PCD COMMAND LINE COMPILER
For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
- Current page: 89 of 373
- Download datasheet (4Mb)
Motor Control PWM
These options lets the user configure the Motor Control Pulse Width Modulator (MCPWM) module.
The MCPWM is used to generate a periodic pulse waveform which is useful is motor control and
power control applications. The options for these functions vary depending on the chip and are
listed in the device header file.
Relevant Functions:
setup_motor_pwm(pwm,options,
timebase);
setup_motor_pwm_duty(pwm,unit,time)
set_motor_pwm_event(pwm,time)
setup_motor_unit(pwm,unit,options,
active_deadtime, inactive_deadtime);
get_motor_pmw_event(pwm);
Relevant Preprocessor:
None
Relevant Interrupts :
#INT_PWM
Relevant Include Files:
None, all functions built-in
Relevant getenv() parameters:
None
Example Code:
// Sets up the motor PWM module
setup_motor_pwm(1,MPWM_FREE_RUN | MPWM_SYNC_OVERRIDES, timebase);
// Sets the PWM1, Unit A duty cycle value to 0x55
setup_motor_pmw_duty(1,0,0x55);
//Set the motor PWM event
set_motor_pmw_event(pwm,time);
set_power_pwm0_duty(duty_cycle));
Configures the motor control PWM module.
Configures the motor control PWM unit duty.
Configures the PWM event on the motor control unit.
Configures the motor control PWM unit.
Returns the PWM event on the motor control unit.
PWM Timebase Interrupt
// Sets the duty cycle of the PWM 0,1 in
//Complementary mode
75
Related parts for PCD COMMAND LINE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![CCS SOFTWARE PROTOTYPING BOARD](/images/no-image3.png)
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
![52901-111](/images/no-image3.png)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
![5228-505](/images/no-image3.png)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
![5234-733](/images/no-image3.png)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
![5244-749](/images/no-image3.png)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
![EMBED. INTERNET DEVKIT W/PCWH](/images/no-image3.png)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
![S-105](/images/no-image3.png)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
![S-106](/images/no-image3.png)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
![S-107](/images/no-image3.png)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
![S-108](/images/no-image3.png)
Part Number:
Description:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
![S-24](/images/no-image3.png)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
![S-25](/images/no-image3.png)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
![USB MASTER PROTOTYPING BOARD](/images/no-image3.png)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)