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

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