|
||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
|
|
Listing 7-There's also a busy bit for the EEPROM in the Self Status Register. We aren't concerned about it because the CS8900A-CQ doesn't support the use of the EEPROM in 8-bit mode. ;****************************************************************** ;* Reset the CS8900 ;* ;* ;****************************************************************** WPP ppageSelfCTL,SELFCTL_RESET CS_Reset movlw 6 movwf ARG0 holdit3 movlw 19 movwf ARG1 holdit2 movlw 6E movwf ARG2 holdit1 decfsz ARG2,F goto holdit1 decfsz ARG1,F goto holdit2 decfsz ARG0,F goto holdit3 RPP ppageSelfStatus btfss data_L,SELFSTAT_INIT_DONE_BIT goto CS_Reset
|
|||||||||||||||||||||||||||||||||
|
Copyright © 2003 ChipCenter-QuestLink About ChipCenter-Questlink |
||||||||||||||||||||||||||||||||||