XE–900 Single Board Computer Reference manual


Add to my manuals
119 Pages

advertisement

XE–900 Single Board Computer Reference manual | Manualzz

80

}

Write a single word to the serial EEPROM

Function: fch

Subfunction: 01h

Purpose: To write a single word to the on–board serial

EEPROM.

Calling registers: AH fch

BX

CX

Word address (zero based)

Data word to write

DX ffffh (User area relative address)

Return registers: Carry flag cleared if successful

Carry flag set if error

Error code

Meaning

01h

02h

Function not implemented

Defective serial EEPROM

Comments: This function writes a word to the user area of the serial EEPROM.

Programming example:

/* Write 0x1234 to word 3*/ unsigned int seeData = 0x1234;

/* Inline assembly code for Borland C++ 3.1*/ asm {

}

Read multiple words from the serial EEPROM

Function: fch

Subfunction: 02h

Purpose: To read multiple words from the on–board serial

EEPROM.

Calling registers: AH fch

BX

DX

Word address (zero based) ffffh (User area relative address)

Return registers: Carry flag cleared if successful

Carry flag set if error

Error Code

Meaning

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents