參數(shù)資料
型號: AN1241D
廠商: 飛思卡爾半導體(中國)有限公司
英文描述: Interfacing the MC68HC705J1A to 9356/9366 EEPROMs
中文描述: 接口的MC68HC705J1A的九千三百六十六分之九千三百五十六的EEPROM
文件頁數(shù): 14/21頁
文件大小: 253K
代理商: AN1241D
AN1241/D
14
*****************************************************************************
* *
* EEPROM Command SubRoutines *
* *
* These 7 subroutines execute each of the 7 commands *
* that the EEPROM will respond to *
* *
*****************************************************************************
*** EWEN - subroutine to enable write/erase ******************************
J9356_EWEN lda #$80 ;load opcode
sta OPCODE
lda #$C0 ;load address
sta ADDR
bset CS,PORTA ;CS line is high
jsr J9356_WR_OP ;write opcode
jsr J9356_WR_ADDR ;write address
bclr CS,PORTA ;CS line is low
rts ;return
*** EWDS - subroutine to disable write/erase *****************************
J9356_EWDS lda #$80 ;load opcode
sta OPCODE
clr ADDR ;load addr
bset CS,PORTA ;CS line is high
jsr J9356_WR_OP ;write opcode
jsr J9356_WR_ADDR ;write address
bclr CS,PORTA ;CS line is low
rts ;return
*** WRITE - subroutine to write EEPROM ***********************************
J9356_WRITE lda #$A0 ;load opcode
sta OPCODE
bset CS,PORTA ;CS line is high
jsr J9356_WR_OP ;write opcode
jsr J9356_WR_ADDR ;write address
jsr J9356_WR_DATA ;write data
bclr SER_OUT,PORTA
bclr CS,PORTA ;CS line is low
jsr J9356_WAIT ;wait until EEPROM is ready
rts ;return
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
AN1432NT AN1432NT - Variable output. low voltage operation shunt regulator
AN1434M Analog IC
AN1434T Analog IC
AN1458 Voltage-Feedback Operational Amplifier
AN1458S Voltage-Feedback Operational Amplifier
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN-1244 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Photo-Diode Current-to-Voltage Converters
AN124952 制造商:AN# - MILITARY 功能描述:
AN124970 制造商: 功能描述: 制造商:undefined 功能描述:
AN124971 制造商:AN# - MILITARY 功能描述:
AN124972 制造商:AN# - MILITARY 功能描述: