PCD
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.
Examples: #use fast_io(A)
Example
Files:
Also See:
#USE FIXED_IO, #USE STANDARD_IO, set_tris_X() , General Purpose I/O
#USE FIXED_IO
Syntax:
#USE FIXED_IO ( port_outputs = pin , pin ?)
Elements: port is A-G, pin is one of the pin constants defined in the devices .h file.
Purpose:
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.
Examples: #use fixed_io(a_outputs=PIN_A2, PIN_A3)
Example
Files:
Also See:
None
#USE FAST_IO, #USE STANDARD_IO, General Purpose I/O
#USE I2C
Syntax:
#USE I2C ( options )
Elements: Options are separated by commas and may be:
124
MASTER
MULTI_MASTER
SLAVE
Sets to the master mode
Set the multi_master mode
Set the slave mode
相关PDF资料
PCI-EXP-T42G5-N1 IP CORE PCI EXPRESS ORCA 4
PCM18XH2 PROCESSOR MODULE MPLAB-ICE 2000
PCM18XN0 PROCESSOR MODULE FOR ICE2000
PDA-B-24-615-E-2B1-1-C CIRCUIT BREAKER MAG 1P 15A
PFMF.260.2 PFMF PTC FUSE SMT 2.6A 1812
PFNF.200.2 PFNF PTC FUSE SMT 2A 1206
PFRY.375 PTC-FUSE RADIAL 72 VDC
PFSM.150.33.2 FUSE PTC 8A 15V FST-TRIP SMD
相关代理商/技术参数
PCD_09 制造商:MACOM 制造商全称:Tyco Electronics 功能描述:Low Profile PCB Relay PCD
PCD-00173-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0E 制造商:Molex 功能描述:Ethernet Cable Assembly
PCD-00173-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00173-0K 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY
PCD-00174-0C 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Red; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet ;RoHS Compliant: NA
PCD-00174-0E 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY; Cable Length - Imperial:3ft; Cable Length - Metric:914.4mm; Connector Type A:RJ45 Plug; Connector Type B:RJ45 Plug; Jacket Color:Grey; Approval Bodies:CSA / UL; Body Material:PVC; Cable Assembly Type:Ethernet;RoHS Compliant: NA
PCD-00174-0H 制造商:Molex 功能描述:ETHERNET CABLE ASSEMBLY