參數(shù)資料
型號: MC68HC05X4CDW
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: HCMOS Microcontroller Unit
中文描述: 8-BIT, MROM, 2.2 MHz, MICROCONTROLLER, PDSO28
封裝: PLASTIC, SOIC-28
文件頁數(shù): 109/156頁
文件大小: 926K
代理商: MC68HC05X4CDW
MC68HC05X4 Rev 1.0
MOTOROLA
16-Bit Programmable Timer
For More Information On This Product,
Go to: www.freescale.com
109
16-Bit Programmable Timer
General Description
Contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Port configuration register (PCR) . . . . . . . . . . . . . . . . . . . . . . . . . . .110
Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Counter registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Timer functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Timer control register (TCR). . . . . . . . . . . . . . . . . . . . . . . . . . . . .114
Timer status register (TSR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . .116
Input capture function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
Input capture registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .117
Output compare function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
Output compare registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119
Timer during WAIT mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
Timer during STOP mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120
Timer state diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121
Introduction
Besides the core timer the MC68HC05X4 has a 16-bit programmable
timer. This timer consists of a 16-bit read-only free-running counter, with
a fixed divide-by-four prescaler, plus the input capture/output compare
circuitry. Selected input edges cause the current counter value to be
latched into a 16-bit input capture register so that software can later read
this value to determine when the edge occurred. When the free running
counter value matches the value in the output compare registers, the
programmed pin action takes place. Refer to
Figure 1
for a block
diagram of the timer. The timer must be enabled by setting the TIMEN
bit in the port configuration register (PCR).
1-ptimer
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
MC68HC05X4DW HCMOS Microcontroller Unit
MC68HC705X4 HCMOS Microcontroller Unit
MC68HC705X4CDW HCMOS Microcontroller Unit
MC68HC705X4DW HCMOS Microcontroller Unit
MC68HC08AB16A Low Cost HCMOS Microcontroller(低成本、8位HCMOS微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05X4DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08AB16A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08AB16AD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08AZ0 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Advance Information
MC68HC08AZ0CFU 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Advance Information