參數(shù)資料
型號: MC68HC05C9A
廠商: Motorola, Inc.
元件分類: 8位微控制器
英文描述: 8-Bit Microcontroller(8位微控制器)
中文描述: 8位微控制器(8位微控制器)
文件頁數(shù): 62/160頁
文件大?。?/td> 783K
代理商: MC68HC05C9A
L
G
R
Capture/Compare Timer
General Release Specification
MC68HC05C9A
Rev. 4.0
62
Capture/Compare Timer
MOTOROLA
8.4.2 Timer Status Register (TSR)
The timer status register, shown in
Figure 8-3
, contains flags to signal
the following conditions:
An active signal on the TCAP pin, transferring the contents of the
timer registers to the input capture registers
A match between the 16-bit counter and the output compare
registers, transferring the OLVL bit to the TCMP pin
A timer roll over from $FFFF to $0000
ICF — Input Capture Flag
The ICF bit is set automatically when an edge of the selected polarity
occurs on the TCAP pin. Clear the ICF bit by reading the timer status
register with ICF set and then reading the low byte ($0015) of the
input capture registers. Resets have no effect on ICF.
OCF — Output Compare Flag
The OCF bit is set automatically when the value of the timer registers
matches the contents of the output compare registers. Clear the OCF
bit by reading the timer status register with OCF set and then reading
the low byte ($0017) of the output compare registers. Resets have no
effect on OCF.
TOF — Timer Overflow Flag
The TOF bit is set automatically when the 16-bit counter rolls over
from $FFFF to $0000. Clear the TOF bit by reading the timer status
register with TOF set, and then reading the low byte ($0019) of the
timer registers. Resets have no effect on TOF.
$0012
Bit 7
6
5
4
3
2
1
Bit 0
Read:
ICF
OCF
TOF
0
0
0
0
0
Reset:
U
U
U
0
0
0
0
0
U = Undetermined
Figure 8-3. Timer Status Register (TSR)
相關(guān)PDF資料
PDF描述
MC68HCL05C9A 8-Bit Microcontroller(8位微控制器)
MC68HSC05C9A 8-Bit Microcontroller(8位微控制器)
MC68HC05F2 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05F6 8-Bit Microcontroller Units (MCU).(8位微控制器)
MC68HC05K3 8-Bit Microcontroller Units (MCU).(8位微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05C9AB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AFN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AMB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC05C9AMFB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers