參數(shù)資料
型號(hào): MC68HC05P9AVP
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: HCMOS Microcontroller Unit
中文描述: HCMOS微控制器
文件頁數(shù): 89/158頁
文件大?。?/td> 1106K
代理商: MC68HC05P9AVP
Timer
Operation
MOTOROLA
Timer
89
Operation
The timing reference for the input capture and output compare functions
is a 16-bit free-running counter. The counter is preceded by a divide-by-
four prescaler and rolls over every 2
18
cycles. Timer resolution with a 4-
MHz crystal is 2
μ
s. Software can read the value in the counter at any
time without affecting the counter sequence.
Because of the 16-bit timer architecture, the I/O registers for the input
capture and output compare functions are pairs of 8-bit registers.
Pin Functions
The timer uses two pins.
PD7/TC AP
PD7/TCAP is the input capture pin. When an active edge occurs on
PD7/TCAP, the timer transfers the current counter value to the input
capture registers. PD7/TCAP is also an I/O port pin.
TC MP
TCMP is the output-only output compare pin. When the counter value
matches the value written in the output compare registers, the timer
transfers the output level bit, OLVL, to the TCMP pin.
Input Capture
The input capture function is a means to record the time at which an
external event occurs. When the input capture circuitry detects an active
edge on the PD7/TCAP pin, it latches the contents of the timer registers
into the input capture registers. The polarity of the active edge is
programmable.
Latching values into the input capture registers at successive edges of
the same polarity measures the period of the input signal on the
PD7/TCAP pin. Latching the counter values at successive edges of
opposite polarity measures the pulse width of the signal.
Figure 44
shows the logic of the input capture function.
9-tim1ic1oc_a
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
MC68HC05P9ACP HCMOS Microcontroller Unit
MC68HC05P9ADW HCMOS Microcontroller Unit
MC68HC05P9AMDW HCMOS Microcontroller Unit
MC68HC05P9AMP HCMOS Microcontroller Unit
MC68HC05P9AP HCMOS Microcontroller Unit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05P9DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05P9P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC05PV8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Techinal Data - rev 1.9
MC68HC05PV8A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Techinal Data - rev 1.9
MC68HC05RC16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification