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

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
dci_data_received( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
dci_read( )
Syntax:
Parameters:
Returns:
Function:
Availability:
dci_data_received()
none
An int1. Returns true if the DCI module has received data.
Use this function to poll the receive buffers. It acts as a kbhit() function for DCI.
Only available on devices with DCI
None
while(1)
{
}
None
DCI
dci_transmit_ready( )
}
dci_read(left channel, right channel);
left channel- A pointer to a signed int16 that will hold the incoming audio data
for the left channel (on a stereo system). This data is received on the bus
before the right channel data (for situations where left & right channel does
have meaning)
right channel- A pointer to a signed int16 that will hold the incoming audio data
for the right channel (on a stereo system). This data is received on the bus
after the data in left channel.
undefined
Use this function to read two data words. Do not use this function with DMA.
This function is provided mainly for applications involving a stereo codec.
(see setup_dci), use only the left channel.
Only available on devices with DCI
if(dci_data_received())
{
//read data, load buffers, etc…
If your application does not use both channels but only receives on a slot
Overview,
setup_dci(
),
dci_start(
),
dci_write(
),
dci_read(
),
171

Related parts for PCDIDE COMPILER