參數(shù)資料
型號(hào): GPTRM
英文描述: General-Purpose Timer Reference Manual
中文描述: 通用定時(shí)器參考手冊(cè)
文件頁(yè)數(shù): 25/90頁(yè)
文件大?。?/td> 647K
代理商: GPTRM
GPT
REFERENCE MANUAL
COMPARE/CAPTURE UNIT
MOTOROLA
3-3
3.2 Input Capture Functions
Each GPT input capture pin (IC1, IC2, IC3, and also IC4/OC5) when used as an input
capture function, has a dedicated 16-bit latch, input edge-detection/selection logic,
and interrupt generation logic. All of the input capture functions use the same 16-bit
timer counter (TCNT). The latch captures the contents of the TCNT when the selected
event occurs at the corresponding input capture pin. Refer to
1.2 Input Capture (IC)
Concepts
for additional information on the basic operation of an input capture func-
tion. The edge detection logic contains control bits which allow user software to select
the edge polarity to be recognized. These are the EDGExA and EDGExB bits in timer
control register 2 (TCTL2). Each of the input capture functions can be independently
configured to detect rising edges only, falling edges only, any edge (rising or falling),
or disable the input capture function. Refer to
Figure 3-5
and
Table 3-1
for the re-
quired bit patterns. The input capture functions operate independently of each other
and can capture the same TCNT value if the input edges are all detected within the
same timer count cycle.
The interrupt generation logic includes a status flag, which indicates that an edge is
detected, and a local interrupt enable bit, which determines if the corresponding input
capture function will generate a hardware interrupt request. The input capture sets the
ICxF bit in the timer interrupt flag register 1(TFLG1) and can cause an interrupt if the
corresponding ICxI bit is set in the timer interrupt mask register 1 (TMSK1). If the in-
terrupt request is inhibited (the ICxI bit cleared), the input capture is operating in polled
mode where software must read the status flag to recognize that an edge was detect-
ed. Refer to
7.1 Interrupts
for additional details on interrupt operation.
Because input capture events are generally asynchronous to the timer counter, they
are conditioned by a synchronizer and digital filter. This synchronizes the input events
to the system clock so that actual latching of the TCNT contents will occur on the op-
posite half cycle of the system clock from when the counter is being incremented. The
input is conditioned in such a way that any event longer than two system clocks is
guaranteed to be captured and any signal shorter than one system clock will be filtered
out and have no effect. Notice the relationship of the system clock to the output of the
synchronizer as shown in
Figure 3-2
. The value latched into the capture register by
an input capture corresponds to the value of the counter several system clock cycles
after the input transition which triggered the edge detection logic. There can be up to
one clock cycle of uncertainty in latching of the input transition. The maximum time is
determined by the system clock frequency.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
GR1081B Optoelectronic
GR1081C Optoelectronic
GR1082B Optoelectronic
GR1082C Optoelectronic
GR1083B Optoelectronic
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
GPTS203211B 功能描述:SWITCH PUSHBUTTON SPST 1A 30V RoHS:是 類別:開關(guān) >> 按鈕 系列:GPTS 標(biāo)準(zhǔn)包裝:1 系列:A16 類型:標(biāo)準(zhǔn),發(fā)光式 電路:雙刀雙擲 開關(guān)功能:開-瞬時(shí) 額定電流:5A(AC) 額定電壓 - AC:125V 額定電壓 - DC:- 觸動(dòng)器類型:方形,按鈕 顏色 - 致動(dòng)器/蓋:黃 發(fā)光類型,顏色:LED,黃 發(fā)光電壓:12 VDC 安裝類型:前面板安裝 端接類型:焊接,快速連接 - 0.110"(2.8mm) 防護(hù)等級(jí):IP65 - 防塵/防油/防水 特點(diǎn):- 面板切口尺寸:圓形 - 直徑 16.00mm 包裝:散裝 工作溫度:-10°C ~ 55°C 機(jī)械壽命:2,000,000 次循環(huán) 電氣壽命:100,000 次循環(huán) 其它名稱:A165LAYM12D2
GPTS203211BR2 制造商:CWIND 制造商全稱:CW Industries 功能描述:PUSH BUTTON SWITCH
GPTS203212B 功能描述:SWITCH PUSHBUTTON SPST 1A 30V RoHS:是 類別:開關(guān) >> 按鈕 系列:GPTS 標(biāo)準(zhǔn)包裝:1 系列:A16 類型:標(biāo)準(zhǔn),發(fā)光式 電路:雙刀雙擲 開關(guān)功能:開-瞬時(shí) 額定電流:5A(AC) 額定電壓 - AC:125V 額定電壓 - DC:- 觸動(dòng)器類型:方形,按鈕 顏色 - 致動(dòng)器/蓋:黃 發(fā)光類型,顏色:LED,黃 發(fā)光電壓:12 VDC 安裝類型:前面板安裝 端接類型:焊接,快速連接 - 0.110"(2.8mm) 防護(hù)等級(jí):IP65 - 防塵/防油/防水 特點(diǎn):- 面板切口尺寸:圓形 - 直徑 16.00mm 包裝:散裝 工作溫度:-10°C ~ 55°C 機(jī)械壽命:2,000,000 次循環(huán) 電氣壽命:100,000 次循環(huán) 其它名稱:A165LAYM12D2
GPTS203212BR2 制造商:CWIND 制造商全稱:CW Industries 功能描述:PUSH BUTTON SWITCH
GPTS203312B 功能描述:SWITCH PUSHBUTTON SPST 1A 30V RoHS:是 類別:開關(guān) >> 按鈕 系列:GPTS 標(biāo)準(zhǔn)包裝:1 系列:A16 類型:標(biāo)準(zhǔn),發(fā)光式 電路:雙刀雙擲 開關(guān)功能:開-瞬時(shí) 額定電流:5A(AC) 額定電壓 - AC:125V 額定電壓 - DC:- 觸動(dòng)器類型:方形,按鈕 顏色 - 致動(dòng)器/蓋:黃 發(fā)光類型,顏色:LED,黃 發(fā)光電壓:12 VDC 安裝類型:前面板安裝 端接類型:焊接,快速連接 - 0.110"(2.8mm) 防護(hù)等級(jí):IP65 - 防塵/防油/防水 特點(diǎn):- 面板切口尺寸:圓形 - 直徑 16.00mm 包裝:散裝 工作溫度:-10°C ~ 55°C 機(jī)械壽命:2,000,000 次循環(huán) 電氣壽命:100,000 次循環(huán) 其它名稱:A165LAYM12D2