參數(shù)資料
型號: HMS81C2020AQ
廠商: Electronic Theatre Controls, Inc.
英文描述: CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
中文描述: CMOS單芯片8位微控制器與A / D轉(zhuǎn)換器
文件頁數(shù): 31/107頁
文件大小: 1482K
代理商: HMS81C2020AQ
HMS81C2012A/2020A
SEP. 2004 Ver 2.00
27
Example: The usage software example of Vector address for HMS81C2020A.
ORG
0FFE0H
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
DW
NOT_USED
NOT_USED
SIO
BIT_TIMER
WD_TIMER
ADC
NOT_USED
NOT_USED
NOT_USED
NOT_USED
TIMER1
TIMER0
INT1
INT0
NOT_USED
RESET
; Serial Interface
; Basic Interval Timer
; Watchdog Timer
; ADC
; Timer-1
; Timer-0
; Int.1
; Int.0
; -
; Reset
ORG
ORG
0B000H
0D000H
; HMS81C2020A(20K)ROM Start address
; HMS81C2012A(12K)ROM Start address
;
;*******************************************
;
MAIN PROGRAM
;*******************************************
;
RESET:
DI
CLRG
LDX
#0
RAM_CLR: LDA
#0
STA
{X}+
CMPX
#0C0H
BNE
RAM_CLR
;
LDX
#0FFH
TXSP
;
LDM
R0, #0
LDM
R0IO,#82H
:
:
:
LDM
TDR0,#125
LDM
TM0,#0FH
LDM
IRQH,#0
LDM
IRQL,#0
LDM
IENH,#0E0H
LDM
IENL,#0
LDM
IEDS,#05H
LDM
R0FUNC,#03H ;Set external interrupt pin(INT0, INT1)
*
;Disable All Interrupts
;RAM Clear(!0000H->!00BFH)
;Stack Pointer Initialize
;Normal Port 0
;Normal Port Direction
;8us x 125 = 1mS
;Start Timer0, 8us at 4MHz
;Enable Timer0, INT0, INT1
;Select falling edge detect on INT pin
EI
:
:
:
;Enable master interrupt
:
:
NOT_USED:NOP
RETI
相關(guān)PDF資料
PDF描述
HMS81C20XXA CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HN2716 2048-word x 8bit Erasable and Electrically Programmable Only Memory
HN27512 512K (64K X 8 BIT ) UV AND OTP EPROM
HN27512P-25 512K (64K X 8 BIT ) UV AND OTP EPROM
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HMS81C20XXA 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C20XXA-HK 制造商:未知廠家 制造商全稱:未知廠家 功能描述:CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
HMS81C2112A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]
HMS81C2120A 制造商:未知廠家 制造商全稱:未知廠家 功能描述:[VFD MCU: High Voltage IO/ADC/HS PWM/SCI]
HMS81C4260 制造商:HYNIX 制造商全稱:Hynix Semiconductor 功能描述:HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS