PCD
CAPTURE_RISING, will generate an error is used with
CAPTURE_FALLING or CAPTURE_BOTH.
ISR=x
STREAM=id
Associates a stream identifier with the capture module. The
identifier may be used in functions like get_capture_time().
DEFINE=id
Creates a define named id which specifies the number of
capture per second. Default define name if not specified is
CAPTURES_PER_SECOND. Define name must start with an
ASCII letter 'A' to 'Z', an ASCII letter 'a' to 'z' or an ASCII
underscore ('_').
Purpose:
Examples:
Example
Files:
Also See:
#USE DELAY
This directive tells the compiler to setup an input capture on the
specified pin using the specified settings. The #USE DELAY
directive must appear before this directive can be used. This
directive enables use of built-in functions such as
get_capture_time() and get_capture_event().
#USE CAPTURE(INPUT=PIN_C2,CAPTURE_RISING,TIMER=1,FASTEST)
None.
get_capture_time(), get_capture_event()
Syntax:
#USE DELAY (options))
Elements: Options may be any of the following separated by commas:
clock=speed speed is a constant 1-100000000 (1 hz to 100 mhz).
This number can contains commas. This number also supports the following
denominations: M, MHZ, K, KHZ. This specifies the clock the CPU runs at.
Depending on the PIC this is 2 or 4 times the instruction rate. This directive is not
needed if the following type=speed is used and there is no frequency multiplication
or division.
type=speed type defines what kind of clock you are using, and the following values
are valid: oscillator, osc (same as oscillator), crystal, xtal (same as crystal), internal,
int (same as internal) or rc. The compiler will automatically set the oscillator
configuration bits based upon your defined type. If you specified internal, the
compiler will also automatically set the internal oscillator to the defined speed.
Configuration fuses are modified when this option is used. Speed is the input
frequency.
restart_wdt will restart the watchdog timer on every delay_us() and delay_ms()
use.
clock_out when used with the internal or oscillator types this enables the clockout
122
相关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