参数资料
型号: MC68HC11F1CFN4
厂商: Freescale Semiconductor
文件页数: 15/158页
文件大小: 0K
描述: IC MCU 512 EEPROM 4MHZ 68-PLCC
标准包装: 18
系列: HC11
核心处理器: HC11
芯体尺寸: 8-位
速度: 4MHz
连通性: SCI,SPI
外围设备: POR,WDT
输入/输出数: 30
程序存储器类型: ROMless
EEPROM 大小: 512 x 8
RAM 容量: 1K x 8
电压 - 电源 (Vcc/Vdd): 4.75 V ~ 5.25 V
数据转换器: A/D 8x8b
振荡器型: 内部
工作温度: -40°C ~ 85°C
封装/外壳: 68-LCC(J 形引线)
包装: 管件
TIMING SYSTEM
TECHNICAL DATA
9-5
9.2 Input Capture
The input capture function records the time an external event occurs by latching the
value of the free-running counter when a selected edge is detected at the associated
timer input pin. Software can store latched values and use them to compute the peri-
odicity and duration of events. For example, by storing the times of successive edges
of an incoming signal, software can determine the period and pulse width of a signal.
To measure period, two successive edges of the same polarity are captured. To mea-
sure pulse width, two alternate polarity edges are captured.
In most cases, input capture edges are asynchronous to the internal timer counter,
which is clocked relative to an internal clock (PH2). These asynchronous capture re-
quests are synchronized to PH2 so that the latching occurs on the opposite half cycle
of PH2 from when the timer counter is being incremented. This synchronization pro-
cess introduces a delay from when the edge occurs to when the counter value is de-
tected. Because these delays offset each other when the time between two edges is
being measured, the delay can be ignored. When an input capture is being used with
an output compare, there is a similar delay between the actual compare point and
when the output pin changes state.
The control and status bits that implement the input capture functions are contained in
the PACTL, TCTL2, TMSK1, and TFLG1 registers.
To configure port A bit 3 as an input capture, clear the DDA3 bit of the DDRA register.
Note that this bit is cleared out of reset. To enable PA3 as the fourth input capture, set
the I4/O5 bit in the PACTL register. Otherwise, PA3 is configured as a fifth output com-
pare out of reset, with bit I4/O5 being cleared. If the DDA3 bit is set (configuring PA3
as an output), and IC4 is enabled, then writes to PA3 cause edges on the pin to result
in input captures. Writing to TI4/O5 has no effect when the TI4/O5 register is acting as
IC4.
9.2.1 Timer Control Register 2
Use the control bits of this register to program input capture functions to detect a par-
ticular edge polarity on the corresponding timer input pin. Each of the input capture
functions can be independently configured to detect rising edges only, falling edges
only, any edge (rising or falling), or to disable the input capture function. The input cap-
ture functions operate independently of each other and can capture the same TCNT
value if the input edges are detected within the same timer count cycle.
EDGxB and EDGxA — Input Capture Edge Control
There are four pairs of these bits. Each pair is cleared to zero by reset and must be
encoded to configure the corresponding input capture edge detector circuit. IC4 func-
tions only if the I4/O5 bit in the PACTL register is set. Refer to Table 9-2 for timer con-
trol configuration.
TCTL2 — Timer Control 2
$1021
Bit 7
654321
Bit 0
EDG4B
EDG4A
EDG1B
EDG1A
EDG2B
EDG2A
EDG3B
EDG3A
RESET:
0000000
0
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.
相关PDF资料
PDF描述
MC68HC11F1CPU4 IC MCU 512 EEPROM 4MHZ 80-LQFP
MC68HRC908JK3CDW IC MCU 4K FLASH 8MHZ SO20
MC68HC711K4CFU4 IC MCU 24K 4MHZ EEPROM 80-QFP
MC68HC11K1CFN4 IC MCU 640 EEPROM 4MHZ 84-PLCC
MC68332ACFC20B1 IC MCU 32BIT 20MHZ 132-PQFP
相关代理商/技术参数
参数描述
MC68HC11F1CFN4R2 功能描述:IC MCU 1K RAM 4MHZ 68-PLCC RoHS:否 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:HC11 标准包装:250 系列:56F8xxx 核心处理器:56800E 芯体尺寸:16-位 速度:60MHz 连通性:CAN,SCI,SPI 外围设备:POR,PWM,温度传感器,WDT 输入/输出数:21 程序存储器容量:40KB(20K x 16) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:6K x 16 电压 - 电源 (Vcc/Vdd):2.25 V ~ 3.6 V 数据转换器:A/D 6x12b 振荡器型:内部 工作温度:-40°C ~ 125°C 封装/外壳:48-LQFP 包装:托盘 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC11F1CFN5 制造商:MOTOROLA 制造商全称:Motorola, Inc 功能描述:Technical Summary 8-Bit Microcontroller
MC68HC11F1CFU 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1CFU1 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers
MC68HC11F1CFU3 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:ROM-based high-performance microcontrollers