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

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
General Purpose I/O
These options let the user configure and use the I/O pins on the device. These functions will affect
the pins that are listed in the device header file.
Relevant Functions:
output_high(pin)
output_low(pin)
output_float(pin)
output_x(value)
output_bit(pin,value)
input(pin)
input_state(pin)
set_tris_x(value)
input_change_x( )
Relevant Preprocessor:
#USE STANDARD_IO(port)
#USE FAST_IO(port)
#USE FIXED_IO
(port_outputs=;in,pin?)
Relevant Interrupts:
None
Relevant Include Files:
None, all functions built-in
Relevant getenv() parameters:
PIN:pb
66
Sets the given pin to high state.
Sets the given pin to the ground state.
Sets the specified pin to the output mode. This will allow the pin
to float high to represent a high on an open collector type of
connection.
Outputs an entire byte to the port.
Outputs the specified value (0,1) to the specified I/O pin.
The function returns the state of the indicated pin.
This function reads the level of a pin without changing the
direction of the pin as INPUT() does.
Sets the value of the I/O port direction register. A '1' is an input
and '0' is for output.
This function reads the levels of the pins on the port, and
compares them to the last time they were read to see if there
was a change, 1 if there was, 0 if there wasn't.
This compiler will use this directive be default and it will
automatically inserts code for the direction register whenever an
I/O function like output_high() or input() is used.
This directive will configure the I/O port to use the fast method
of performing I/O. The user will be responsible for setting the
port direction register using the set_tris_x() function.
This directive set particular pins to be used an input or output, and
the compiler will perform this setup every time this pin is used.
Returns a 1 if bit b on port p is on this part

Related parts for PCDIDE COMPILER