PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 276
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: 276 of 373
- Download datasheet (4Mb)
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
setup_adc(mode)
setup_adc2(mode)
Syntax:
Parameters:
Returns:
Function:
262
Configures the ADC clock speed and the ADC sample time. The ADC converters
have a maximum speed of operation, so ADC clock needs to be scaled
accordingly. In addition, the sample time can be set by using a bitwise OR to
concatenate the constant to the argument.
Only the devices with built in analog to digital converter.
Constants are defined in the devices .h file.
setup_adc_ports( ALL_ANALOG );
setup_adc(ADC_CLOCK_INTERNAL );
set_adc_channel( 0 );
value = read_adc();
setup_adc( ADC_OFF );
ex_admm.c
setup_adc_ports(), set_adc_channel(), read_adc(), #DEVICE,
see header file for device selected
setup_adc (mode);
setup_adc2(mode);
mode- Analog to digital mode. The valid options vary depending on the device. See
the devices .h file for all options. Some typical options include:
undefined
Configures the ADC clock speed and the ADC sample time. The ADC converters
have a maximum speed of operation, so ADC clock needs to be scaled accordingly.
In addition, the sample time can be set by using a bitwise OR to concatenate the
constant to the argument.
conversion time
ADC_OFF
ADC_CLOCK_INTERNAL
ADC_CLOCK_DIV_32 – The ADC will use the external clock scaled down by 32
ADC_CLOCK_DIV_32
ADC_CLOCK_INTERNAL – The ADC will use an internal clock
ADC_TAD_MUL_16 – The ADC sample time will be 16 times the ADC
ADC
Overview,
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)