PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 283

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

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
setup_dma( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires
Examples:
Example Files:
Also See
setup_high_speed_adc( )
Syntax:
Parameters:
Returns:
Function:
setup_high_speed_adc (mode);
mode – Analog to digital mode. The valid options vary depending on the device.
Undefined
Configures the High-Speed ADC clock speed and other High-Speed ADC options
including, when the ADC interrupts occurs, the output result format, the conversion
order, whether the ADC pair is sampled sequentially or simultaneously, and
whether the dedicated sample and hold is continuously sampled or samples when
a trigger event occurs.
See the devices .h file for all options. Some typical options include:
setup_dma(channel, peripheral,mode);
Channel- The channel used in the DMA transfer
peripheral - The peripheral that the DMA wishes to talk to.
mode- This will specify the mode used in the DMA transfer
void
Configures the DMA module to copy data from the specified peripheral to RAM
allocated for the DMA channel.
Devices that have the DMA module.
Nothing
setup_dma(2, DMA_IN_SPI1, DMA_BYTE);
// This will setup the DMA channel 1 to talk to SPI1 input
buffer.
None
dma_start(),
·
·
·
ADC_OFF
ADC_CLOCK_DIV_1
ADC_HALT_IDLE – The ADC will not run when PIC is idle.
dma_status()
269

Related parts for PCDIDE COMPILER