參數(shù)資料
型號: MC68HC08QT2CDW
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
封裝: EIAJ, SOIC-8
文件頁數(shù): 23/178頁
文件大?。?/td> 2311K
代理商: MC68HC08QT2CDW
MC68HC08QY/QT Family Data Sheet, Rev. 1
Freescale Semiconductor
119
Chapter 14
Timer Interface Module (TIM)
14.1 Introduction
This section describes the timer interface module (TIM). The TIM module is a 2-channel timer that
provides a timing reference with input capture, output compare, and pulse-width-modulation functions.
The TIM module shares its pins with general-purpose input/output (I/O) port pins. See Figure 14-1 for port
location of these shared pins.
14.2 Features
Features include the following:
Two input capture/output compare channels
Rising-edge, falling-edge, or any-edge input capture trigger
Set, clear, or toggle output compare action
Buffered and unbuffered output compare pulse-width modulation (PWM) signal generation
Programmable clock input
7-frequency internal bus clock prescaler selection
External clock input pin if available, See Figure 14-1
Free-running or modulo up-count operation
Toggle any channel pin on overflow
Counter stop and reset bits
14.3 Functional Description
Figure 14-2 shows the structure of the TIM. The central component of the TIM is the 16-bit counter that
can operate as a free-running counter or a modulo up-counter. The counter provides the timing reference
for the input capture and output compare functions. The counter modulo registers, TMODH:TMODL,
control the modulo value of the counter. Software can read the counter value, TCNTH:TCNTL, at any time
without affecting the counting sequence.
The two TIM channels are programmable independently as input capture or output compare channels.
14.3.1 TIM Counter Prescaler
The TIM clock source is one of the seven prescaler outputs or the external clock input pin, TCLK if
available. The prescaler generates seven clock rates from the internal bus clock. The prescaler select
bits, PS[2:0], in the TIM status and control register (TSC) select the clock source.
相關(guān)PDF資料
PDF描述
MC68HC08QT1CDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QT2MDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QY4MDWE 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
MC68HC08QT4MDW 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO8
MC68HC08QY1MDT 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO16
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC08QT4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08QY1 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08QY2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08QY4 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers
MC68HC08SR12 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:M68HC08 Microcontrollers