PCD COMMAND LINE COMPILER Custom Computer Services Inc (CCS), PCD COMMAND LINE COMPILER Datasheet - Page 155
PCD COMMAND LINE COMPILER
Manufacturer Part Number
PCD COMMAND LINE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet
1.PCD_COMMAND_LINE_COMPILER.pdf
(373 pages)
Specifications of PCD COMMAND LINE COMPILER
For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1007
- Current page: 155 of 373
- Download datasheet (4Mb)
#USE FAST_IO
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
#USE FIXED_IO
Syntax:
Elements:
Purpose:
Examples:
Example Files:
Also See:
#USE FIXED_IO (port_outputs=pin, pin?)
port is A-G, pin is one of the pin constants defined in the devices .h file.
This directive affects how the compiler will generate code for input and output
instructions that follow. This directive takes effect until another #USE XXX_IO
directive is encountered. The fixed method of doing I/O will cause the compiler to
generate code to make an I/O pin either input or output every time it is used. The
pins are programmed according to the information in this directive (not the
operations actually performed). This saves a byte of RAM used in standard I/O.
When linking multiple compilation units be aware this directive only applies to the
current compilation unit.
#use fixed_io(a_outputs=PIN_A2, PIN_A3)
None
#USE
#USE FAST_IO (port)
port is A, B, C, D, E, F, G, H, J or ALL
Affects how the compiler will generate code for input and output instructions that
follow. This directive takes effect until another #use xxxx_IO directive is
encountered. The fast method of doing I/O will cause the compiler to perform I/O
without programming of the direction register. The compiler's default operation is
the opposite of this command, the direction I/O will be set/cleared on each I/O
operation. The user must ensure the direction register is set correctly via
set_tris_X(). When linking multiple compilation units be aware this directive only
applies to the current compilation unit.
#use fast_io(A)
ex_cust.c
#USE
FAST_IO,
FIXED_IO,
#USE
#USE
STANDARD_IO,
STANDARD_IO,
General Purpose I/O
set_tris_X()
,
General Purpose I/O
141
Related parts for PCD COMMAND LINE COMPILER
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
PROTOTYPING BOARD FOR PIC MCU
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
Extra CCS C Manual
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
MACH X Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PCD For 24-bit (PIC24/dsPIC)
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
LOAD-n-GO Programmer
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
EMBEDDED INTERNET DEVELOPMENT KIT W/PCWH
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24F Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCWHD
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC24H Development Kit With PCDIDE
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F6722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
PIC18F8722 Embedded C Development Kit With PCWH Compiler
Manufacturer:
Custom Computer Services Inc (CCS)
Part Number:
Description:
USB Master Prototyping Board
Manufacturer:
Custom Computer Services Inc (CCS)