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

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
setup_dac( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
setup_dci( )
Syntax:
Parameters:
setup_dac(mode);
setup_dac(mode, divisor);
mode- The valid options vary depending on the device. See the devices .h file for
all options. Some typical options include:
· DAC_OUTPUT
divisor- Divides the provided clock
undefined
Configures the DAC including reference voltage. Configures the DAC including
channel output and clock speed.
Only the devices with built in digital to analog converter.
Constants are defined in the devices .h file.
setup_dac(DAC_VDD | DAC_OUTPUT);
dac_write(value);
setup_dac(DAC_RIGHT_ON, 5);
None
dac_write(
setup_dci(configuration, data size, rx config, tx config, sample rate);
configuration - Specifies the configuration the Data Converter Interface should be
initialized into, including the mode of transmission and bus properties. The
following constants may be combined ( OR’d) for this parameter:
· CODEC_MULTICHANNEL
· CODEC_I2S· CODEC_AC16
· CODEC_AC20· JUSTIFY_DATA· DCI_MASTER
· DCI_SLAVE· TRISTATE_BUS· MULTI_DEVICE_BUS
· SAMPLE_FALLING_EDGE· SAMPLE_RISING_EDGE
· DCI_CLOCK_INPUT· DCI_CLOCK_OUTPUT
),
DAC
Overview, See header file for device selected
267

Related parts for PCWHD IDE COMPILER