Pre-Processor
Example
Files:
Also See:
None
#DEFINE
#USE CAPTURE
Syntax:
Elements:
#USE CAPTURE(options)
ICx/CCPx
Which CCP/Input Capture module to us.
INPUT = PIN_xx
Specifies which pin to use. Useful for device with remappable
pins, this will cause compiler to automatically assign pin to
peripheral.
TIMER=x
Specifies the timer to use with capture unit. If not specified
default to timer 1 for PCM and PCH compilers and timer 3 for
PCD compiler.
TICK=x
The tick time to setup the timer to. If not specified it will be set
to fastest as possible or if same timer was already setup by a
previous stream it will be set to that tick time. If using same
timer as previous stream and different tick time an error will be
generated.
FASTEST
Use instead of TICK=x to set tick time to fastest as possible.
SLOWEST
Use instead of TICK=x to set tick time to slowest as possible.
CAPTURE_RISING
Specifies the edge that timer value is captured on. Defaults to
CAPTURE_RISING.
CAPTURE_FALLING
Specifies the edge that timer value is captured on. Defaults to
CAPTURE_RISING.
CAPTURE_BOTH
PCD only. Specifies the edge that timer value is captured on.
Defaults to CAPTURE_RISING.
PRE=x
Specifies number of rising edges before capture event occurs.
Valid options are 1, 4 and 16, default to 1 if not specified.
Options 4 and 16 are only valid when using
121
相关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