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

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
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 PCWHD IDE COMPILER