參數(shù)資料
型號(hào): MC68HC05E1MDW
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
封裝: SOIC-28
文件頁(yè)數(shù): 17/86頁(yè)
文件大?。?/td> 709K
代理商: MC68HC05E1MDW
General Release Specication
MC68HC05E1 — Revision 2.0
24
Operating Modes
MOTOROLA
Operating Modes
Self-check results (using the LEDs as monitors) are shown in Table 2-2.
The Self-Check program resides at ROM location $1F00 to $1FEF. The
following subroutines are available to user programs and do not require
any external hardware.
2.4.1 Timer Test Subroutine
This subroutine returns with the Z bit cleared if any error is detected;
otherwise, the Z bit is set.
This subroutine is called at location $1F9B. Because the timer is free
running and has only a divide-by-four prescaler, each timer count cannot
be tested. The test sets RTIE and CPIE and reads the timer once every
3 counts (12 cycles) to check for correct counting. The test tracks the
counter until the timer wraps around, setting the TOF bit in the Timer
Control and Status register. The routine then waits for RTIF=1 and CPIF
= 1 before returning with the RTI and the CPI pending. RAM location
$0095 is overwritten. Upon return to the user’s program, A=0 if the test
passed.
2.4.2 ROM Checksum Subroutine
This subroutine returns with the Z bit cleared if any error is detected;
otherwise, the Z bit is set.
This subroutine is called at location $1FD1. A short routine is set up and
executed in RAM to compute a checksum of the entire ROM pattern. The
checksum byte is computed by Motorola and is located in the Self-Check
ROM. Upon return to the user’s program, X=0. If the test passed, A=0.
RAM locations $0090 through $0093 are overwritten.
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描述
MC68HC05E1P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HC05E1DW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05E1CDW 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDSO28
MC68HC05E6FB 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PQFP44
MC68HC705E6VFB 8-BIT, OTPROM, 2.1 MHz, MICROCONTROLLER, PQFP44
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05E5 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05E5DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05E5P 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05E6 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC05E6CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit