PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 251

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
Availability:
Requires:
Examples:
Example Files:
Also See:
read_program_memory( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
Only on devices with a built-in high-speed analog to digital converter.
Constants are define in the device .h file.
//Individual start and read
int16 result[2];
setup_high_speed_adc(ADC_CLOCK_DIV_4);
setup_high_speed_adc_pair(0,
read_high_speed_adc(0, result); //starts conversion for AN0 and
AN1 and stores
//Global start and read
int16 result[4];
setup_high_speed_adc(ADC_CLOCK_DIV_4);
setup_high_speed_adc_pair(0, GLOBAL_SOFTWARE_TRIGGER);
setup_high_speed_adc_pair(4, GLOBAL_SOFTWARE_TRIGGER);
read_high_speed_adc(result); //starts conversion for AN0, AN1,
AN8 and AN9 and
result[1], result[2] and
None
setup_high_speed_adc(), setup_high_speed_adc_pair(),
READ_PROGRAM_MEMORY (address, dataptr, count );
address is 32 bits . The least significant bit should always be 0 in PCM.
dataptr is a pointer to one or more bytes.
count is a 16 bit integer on PIC16 and 16-bit for PIC18
undefined
Reads count bytes from program memory at address to RAM at dataptr. BDue
to the 24 bit program instruction size on the PCD devices, every fourth byte will be
read as 0x00
Only devices that allow reads from program memory.
Nothing
char buffer[64];
read_external_memory(0x40000, buffer, 64);
None
write program memory(
),
Program Eeprom Overview
//result in result[0] and result[1]
//stores result in result[0],
//result[3]
INDIVIDUAL_SOFTWARE_TRIGGER);
high_speed_adc_done()
237

Related parts for PCWHD IDE COMPILER