PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 280
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: 280 of 373
- Download datasheet (4Mb)
setup_compare( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
setup_crc(mode)
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
266
setup_compare(x, mode)
mode is defined by the constants in the devices .h file
x is 1-8 and specifies which OC pin to use.
None
This function specifies how the output compare module is going to function based
on the value of mode. The device specific options are listed in the device .h file.
Only available on devices with output compare modules.
None
// Pin OC1 will be set when timer 2 is equal to 0xF000
setup_timer2(TMR_INTERNAL | TIMER_DIV_BY_16);
set_compare_time(1, 0xF000);
setup_compare(1, COMPARE_SET_ON_MATCH | COMPARE_TIMER2);
None
set_compare_time(), set_pwm_duty(), setup_capture(),
Overview
setup_crc(polynomial terms)
polynomial - This will setup the actual polynomial in the CRC engine. The power
of each term is passed separated by a comma. 1 is allowed, but ignored.
undefined
Configures the CRC engine register with the polynomial
Only the devices with built in CRC module
Nothing
setup_crc (12, 5);
// CRC Polynomial is X
setup_adc(16, 15, 3, 1);
// CRC Polynomial is X
ex_admm.c
crc_init(); crc_calc();
crc_calc8()
12
16
+ X
+ X
5
15
+ 1
+ X
3
+ X
1
+ 1
Output Compare / PWM
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)