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

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
Availability:
Requires:
Examples:
Example Files:
Also See:
setup_vref( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
This function is only available on devices with a built in UART.
#USE RS232
setup_uart(9600);
setup_uart(9600, rsOut);
None
#USE
setup_vref (mode )
mode is a bit-field comprised of the following constants:
• VREF_DISABLED
• VREF_LOW ( Vdd * value / 24)
• VREF_HIGH ( Vdd * value / 32 + Vdd/4 )
• VREF_ANALOG
undefined
Configures the voltage reference circuit used by the voltage comparator.
The voltage reference circuit allows you to specify a reference voltage that the
comparator module may use. You may use the Vdd and Vss voltages as your
reference or you may specify VREF_ANALOG to use supplied Vdd and Vss.
Voltages may also be tuned to specific values in steps, 0 through 15. That value
must be or’ed to the configuration constants.
Some devices, consult your target datasheet.
Constants are defined in the devices .h file.
/* Use the 15th step on the course setting */
setup_vref(VREF_LOW | 14);
None
Voltage Reference Overview
RS232, putc(), getc(),
RS232 I/O Overview
283

Related parts for PCDIDE COMPILER