PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 78
PCDIDE COMPILER
Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
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
- Current page: 78 of 373
- Download datasheet (4Mb)
DCI
DCI is an interface that is found on several dsPIC devices in the 30F and the 33FJ families. It is a
multiple-protocol interface peripheral that allows the user to connect to many common audio
codecs through common (and highly configurable) pulse code modulation transmission protocols.
Generic multichannel protocols, I2S and AC’97 (16 & 20 bit modes) are all supported.
Relevant Functions:
setup_dci(configuration, data
size, rx config, tx config,
sample rate);
setup_adc_ports(value)
set_adc_channel(channel)
read_adc(mode)
adc_done()
Relevant Preprocessor:
#DEVICE ADC=xx
Relevant Interrupts:
INT_DCI
Relevant Include Files:
None, all functions built-in
Relevant getenv() parameters:
None
Example Code:
signed int16 left_channel, right_channel;
dci_initialize((I2S_MODE | DCI_MASTER | DCI_CLOCK_OUTPUT |
SAMPLE_RISING_EDGE | UNDERFLOW_LAST | MULTI_DEVICE_BUS),DCI_1WORD_FRAME
| DCI_16BIT_WORD | DCI_2WORD_INTERRUPT, RECEIVE_SLOT0 | RECEIVE_SLOT1,
TRANSMIT_SLOT0 | TRANSMIT_SLOT1, 6000);
…
dci_start();
…
while(1)
{
}
64
dci_read(&left_channel, &right_channel);
dci_write(&left_channel, &right_channel);
Initializes the DCI module.
Sets the available adc pins to be analog or digital.
Specifies the channel to be use for the a/d call.
Starts the conversion and reads the value. The mode can also
control the functionality.
Returns 1 if the ADC module has finished its conversion.
Configures the read_adc return size. For example, using a PIC
with a 10 bit A/D you can use 8 or 10 for xx- 8 will return the most
significant byte, 10 will return the full A/D reading of 10 bits.
Interrupt fires on a number (user configurable) of data words received.
Related parts for PCDIDE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)