PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 267
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: 267 of 373
- Download datasheet (4Mb)
set_compare_time( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
set_motor_pwm_duty( )
Syntax:
Parameters:
Returns:
Function:
Availability:
set_compare_time(x, ocr, [ocrs])
x is 1-8 and defines which output compare module to set time for
ocr is the compare time for the primary compare register.
ocrs is the optional compare time for the secondary register. Used for dual
compare mode.
None
This function sets the compare value for the output compare module. If the output
compare module is to perform only a single compare than the ocrs register is not
used. If the output compare module is using double compare to generate an output
pulse, then ocr signifies the start of the pulse and ocrs defines the pulse
termination time.
Only available on devices with output compare modules.
Nothing
// Pin OC1 will be set when timer 2 is equal to 0xF000
setup_timer2(TMR_INTERNAL | TIMER_DIV_BY_8);
set_compare_time(1, 0xF000);
setup_compare(1, COMPARE_SET_ON_MATCH | COMPARE_TIMER2);
None
get_capture(
set_motor_pmw_duty(pwm,group,time);
pwm- Defines the pwm module used.
group- Output pair number 1,2 or 3.
time- The value set in the duty cycle register.
void
Configures the motor control PWM unit duty.
Devices that have the motor control PWM unit.
),
setup_compare(
),
ouput compare
/ PWM Overview
253
Related parts for PCD COMMAND LINE 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:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)