PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 89
PCDIDE COMPILER
Manufacturer Part Number
PCDIDE 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 PCDIDE COMPILER
For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
- 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 PCDIDE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)