參數(shù)資料
型號: MC68HC05PL4P
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.56 MHz, MICROCONTROLLER, PDIP28
封裝: PLASTIC, DIP-28
文件頁數(shù): 57/98頁
文件大?。?/td> 1019K
代理商: MC68HC05PL4P
GENERAL RELEASE SPECIFICATION
April 30, 1998
MOTOROLA
16-BIT PROGRAMMABLE TIMER
MC68HC05PL4
9-10
REV 2.0
TCMPEN - TIMER OUTPUT COMPARE ENABLE
The bit congures port pin PA3 for Timer16 output compare function (TCMP).
At power-on-reset, this bit is cleared, PA3 is a standard I/O port pin, TCMP sig-
nal to PA3 is disabled from Timer16.
1 =
PA3 pin congured as TCMP for timer output compare
0 =
PA3 pin as standard I/O port pin
9.6
TIMER STATUS REGISTER (TSR)
The timer status register (TSR) shown in Figure 9-12 contains ags for the follow-
ing events:
An active signal on the PA2/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.
An overow of the timer registers from $FFFF to $0000.
Writing to any of the bits in the TSR has no effect. Reset does not change the
state of any of the ag bits in the TSR.
ICF - INPUT CAPTURE FLAG
The ICF bit is automatically set when an edge of the selected polarity occurs on
the PA2/TCAP pin. Clear the ICF bit by reading the timer status register with
the ICF set, and then reading the low byte (ICRL, $0015) of the input capture
registers. Resets have no effect on ICF.
OCF - OUTPUT COMPARE FLAG
The OCF bit is automatically set 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 the OCF set, and then accessing the low byte (OCRL,
$0017) of the output compare registers. Resets have no effect on OCF.
TOF - TIMER OVERFLOW FLAG
The TOF bit is automatically set when the 16-bit timer counter rolls over from
$FFFF to $0000. Clear the TOF bit by reading the timer status register with the
TOF set, and then accessing the low byte (TMRL, $0019) of the timer registers.
Resets have no effect on TOF.
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
TSR
R
ICF
OCF
TOF
00000
$0013
W
reset:
U
00000
U = UNAFFECTED BY RESET
Figure 9-12. Timer Status Registers (TSR)
相關(guān)PDF資料
PDF描述
MC68HC705PL4CP 8-BIT, OTPROM, 2.56 MHz, MICROCONTROLLER, PDIP28
MC68HC05PV8YDWE 8-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PDSO28
MC68HC05PV8AYDW 8-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PDSO28
MC68HC05RC16P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HC05RC16P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
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
MC68HC05RC16DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05RC16FN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification