參數(shù)資料
型號: MC68HC05CJ4FB
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP44
封裝: PLASTIC, QFP-44
文件頁數(shù): 101/114頁
文件大?。?/td> 4047K
代理商: MC68HC05CJ4FB
GENERAL RELEASE SPECIFICATION
TIMER 2
Rev. 2.1
12-3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
12.2.1 Clearing Timer Overflow Flag (TOF)
Use the following program to clear timer overflow flag (TOF) bit.
SEI
SEI NOT REQUIRED IF USED WITHIN TIMER INTERRUPT ROUTINE
LDA
#$73
AND
$T2CSR
OR
#$40
MASK RTIF BIT
STA
$T2CSR
CLI
DO NOT USE CLI IF THIS CODE SEGMENT IS USED WITHIN TIMER
INTERRUPT ROUTINE
12.2.2 Clearing Timer Overflow Flag Enable (TOFE)
Use the following program to clear timer overflow flag enable (TOFE) bit.
SEI
SEI NOT REQUIRED IF USED WITHIN TIMER INTERRUPT ROUTINE
LDA
#$D3
AND
$T2CSR
OR
#$C0
MASK RTIF & TOF
STA
$T2CSR
CLI
DO NOT USE CLI IF THIS CODE SEGMENT IS USED WITHIN TIMER
INTERRUPT ROUTINE.
Masking the real-time interrupt flag (RTIF) and timer overflow flag (TOF) bits with
the OR instruction prevents these bits from being cleared if a TOF or real time
interrupt (RTI) is generated during the clearing routine. Similar sequences should
be used for clearing of the RTIF and real-time interrupt enable (RTIE) bits.
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
..
.
相關(guān)PDF資料
PDF描述
MC68HC705CJ4FB 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQFP44
MC68HC05E0FN 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQCC68
MC68HC05E5P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HC05E5DW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05J1ACP 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05CT4FB 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05CT4FN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05D9 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:8-bit microcomputer with PWM outputs and LED drive
MC68HC05E0 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:High-density complementary metal oxide semiconductor (HCMOS) microcontroller unit
MC68HC05E0FN 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller