SST89C58电子盘电路及代码

[05-23 02:47:29]   来源:http://www.88dzw.com  单片机电路图   阅读:8300

文章摘要:Sectr_No Equ 8003h ; Sector Number Register, or LBA0:7 ( R / W )Cylinder_Low Equ 8004h ; Cylinder Low Register or LBA8:15 ( R / W )Cylinder_Hi Equ 8005h ; Cylinder High Register or LBA16:23 ( R / W )Drv_Head Equ 8006h ; Drive Head Register ( R / W ) Status

SST89C58电子盘电路及代码,标签:电路图讲解,电路图练习,http://www.88dzw.com
Sectr_No          Equ  8003h   ; Sector Number Register, or LBA0:7 ( R / W )
Cylinder_Low    Equ  8004h   ; Cylinder Low Register or LBA8:15 ( R / W )
Cylinder_Hi       Equ  8005h   ; Cylinder High Register or LBA16:23 ( R / W )
Drv_Head        Equ  8006h   ; Drive Head Register ( R / W )
Status              Equ  8007h   ; Status Register, read only
Command        Equ  8007h   ; Command Register, write only

Alt_Status        Equ  4006h   ; Alternate Status Register, read only,
; reading Alt_Status doesn't clear interrupt pending flag. Not used in this demo.
Device_Ctrl      Equ  4006h   ; Device Control Register, write only. Not used in this demo.
Drive_Addrs     Equ  4007h   ; Drive Address Register, read only. Not used in this demo.

;=================================================================
; SST FlashFlex51 microcontroller related SFR's definition

SFCF        DATA    0B1H    ; SuperFlash Configuration
SFCM        DATA    0B2H    ; SuperFlash Command
SFAL        DATA    0B3H    ; SuperFlash Address Low
SFAH        DATA    0B4H    ; SuperFlash Address High
SFDT        DATA    0B5H    ; SuperFlash Data
SFST        DATA    0B6H    ; SuperFlash Status
WDTC        DATA    0C0H    ; Watchdog Timer Control
WDTD        DATA    86H               ; Watchdog Timer Data/Reload

;=================================================================
; constant      definition

FlashAddrs      Equ     0F800h   ; start address to store data from ADC

;===========================================

        org   0000h
        ljmp  start

        org   0100h
start:        clr       P1.4        ; reset ADC

上一页  [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]  下一页


Tag:单片机电路图电路图讲解,电路图练习电子电路图 - 单片机电路图