TMP92CZ26A
92CZ26A-258
Executing page program
; ***** Set auto page program*****
;
ldw (ndfmcr0),20B0h ; WE enable, CLE enable
ld (ndfdtr0),10h ; Auto page program command
ldw (ndfmcr0),2010h ; WE disable, CLE disable
;
; Wait setup time (from Busy to Ready)
; 1. Flag polling
; 2. Interrupt
;
Reading status
; ***** Read Status*****
;
ldw (ndfmcr0),20B0h ; WE enable, CLE enable
ld (ndfdtr0),70h ; Status read command
ldw (ndfmcr0),2010h ; WE disable, CLE disable
ld xx,(ndfdtr0) ; Status read