⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 constant.asm

📁 SPI COMMUNICATION BETWEEN ST7 AND EEPROM
💻 ASM
字号:
st7/ 					; The first line is reserved 
                                        ; for specifying the instruction set
                                        ; of the targetted processor
                                  

;+------------------------------------------------------------------------------+
;|										|
;|			SPI COMMUNICATION BETWEEN ST7 AND EEPROM							|
;|										|
;|			Copyright (c), STMicroelectronics			|
;|										|
;+------------------------------------------------------------------------------+
;| The present source code which is for guidance only aims at providing 	|
;| customers with information regarding their products in order for them to save|
;| time. As a result, STMcroelectronics shall not be held liable for any direct,|
;| indirect or consequential damages with respect to any claims arising from the|
;| content of such a source code and/or the use made by customers of the 	|
;| information contained herein in connexion with their products.		|
;+------------------------------------------------------------------------------+
;|										|
;|			File: constant.asm					|
;|										|
;+----------------------+-----------------------+-------------------------------+
;|	DATE		|	VERSION		|	HISTORY/CHANGES		|
;|	(MM/DD/YY)	|	VX.Y		|				|
;+----------------------+-----------------------+-------------------------------+
;|	11/12/01	|	2.0		|	ST72251 ----> ST72264	|
;+----------------------+-----------------------+-------------------------------+
;|SOFTWARE DESCRIPTION:								|
;| ST7 SPI software driver for a communication between an ST7 and an ST95040	|
;| EEPROM.									|
;| Polling software strategy without error management.				|
;|										|
;|PIN ALLOCATION:								|
;| PB3: slave (EEPROM) selection						|
;| All SPI pins: MISO, MOSI, CLK (/SS software driven)				|
;+------------------------------------------------------------------------------+

	TITLE    "constant.asm"         ; This title will appear on each
                                        ; page of the listing file
        MOTOROLA                        ; This directive forces the Motorola 
                                        ; format for the assembly (default)
;***********************************************************************
        
        
;+------------------------------------------------------------------------------+
;|	VARIBLES INCLUSION							|
;+------------------------------------------------------------------------------+
	BYTES
         
        segment 'ram0'
 
.start  DS.B  112     			; 112 bytes reserved in RAM
.temp1  DS.B  1       			; One byte reserved in RAM
                 

	END
       
        
       

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -