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

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
output_low( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
output_toggle( )
Syntax:
Parameters:
Returns:
Function:
220
output_toggle(pin)
Pins are defined in the devices .h file. The actual value is a bit address. For
example, port a (byte 0x2C2 ) bit 3 would have a value of 0x2C2*8+3 or 5651. This
is defined as follows: #DEFINE PIN_A3 5651 .
Undefined
Toggles the high/low state of the specified pin.
output_low (pin)
Pins are defined in the devices .h file. The actual value is a bit address. For
example, port a (byte 0x2C2 ) bit 3 would have a value of 0x2C2*8+3 or 5651.
This is defined as follows: #DEFINE PIN_A3 5651 .The PIN could also be a
variable. The variable must have a value equal to one of the constants (like
PIN_A1) to work properly. The tristate register is updated unless the FAST_I0
mode is set on port A. Note that doing I/0 with a variable instead of a constant will
take much longer time.
undefined
Sets a given pin to the ground state. The method of I/O used is dependent on the
last USE *_IO directive.
All devices.
Pin constants are defined in the devices .h file
output_low(PIN_A0);
Int16i=PIN_A1;
output_low(PIN_A1);
ex_sqw.c
input(), output_high(), output_float(), output_bit(), output_x(),
#USE
FAST_IO,
#USE
STANDARD_IO,
General Purpose I/O
#USE
FIXED_IO,

Related parts for PCWHD IDE COMPILER