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

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
dma_start( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
dma_status( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
178
dma_start(channel, mode, addressA, addressB, count);
Channel- The channel used in the DMA transfer
mode - The mode used for the DMA transfer.
addressA- The start RAM address of the buffer to use located within the DMA
RAM bank.
addressB- If using PING_PONG mode the start RAM address of the second
buffer to use located within the DMA RAM bank.
void
Starts the DMA transfer for the specified channel in the specified mode of operation.
Devices that have the DMA module.
Nothing
dma_start(2, DMA_CONTINOUS | DMA_PING_PONG, 0x4000,
0x4200,255);
// This will setup the DMA channel 2 for continuous ping-pong
mode with DMA RAM addresses of 0x4000 and 0x4200.
None
setup_dma(),
Value = dma_status(channel);
Channel – The channel whose status is to be queried.
Returns a 8-bit int. Possible return values are :
DMA_IN_ERROR
DMA_OUT_ERROR 0x02
DMA_B_SELECT
This function will return the status of the specified channel in the DMA module.
Devices that have the DMA module.
Nothing
Int8 value;
value = dma_status(3);
channel 3 of the DMA module.
None
setup_dma(), dma_start().
dma_status()
0x04
0x01
// This will return the status of

Related parts for PCDIDE COMPILER