![Octagon XE-900 Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/octagon/xe-900/xe-900_reference-manual_723613084.webp)
84
Error Code
Meaning
ffh
Unknown error
01h
Function not implemented
02h
Defective serial EEPROM
03h
Illegal access
Comments:
This function reads multiple words from the user
area of the serial EEPROM.
Programming example:
/* Read 10 words starting at word 5*/
unsigned int far*seeDataPtr = new unsigned int[10];
/* Allocate storage /
/ Inline assembly code for Borland C++ 3.1*/
asm {
mov ax,0fc02h
mov bx,05h /* Read starts at
word 5*/
mov cx,10 /* Read 10 words */
mov dx,0ffffh
les di,seeDataPtr
int 17h
}
Write multiple words to the serial EEPROM
Function:
fch
Subfunction:
03h
Purpose:
To write multiple words to the on–board serial
EEPROM.
Calling registers:
AH
fch
AL
03h
BX
Word address (zero based)
CX
Word count
DX
ffffh
DS:SI Source pointer
Return registers:
Carry flag cleared if successful
Carry flag set if error
AL
Error code
Error Code
Meaning
ffh
Unknown error
01h
Function not implemented
02h
Defective serial EEPROM
03h
Illegal access
Comments:
This function writes multiple words to the
user area of the serial EEPROM.
Programming example:
/* Write 8 words starting at word 6*/
unsigned int far*seeDataPtr = new unsigned int[8];
/* Allocate storage /
unsigned int far tmpPtr = seeDataPtr;
for(int I=0;I<8;I++)
seeDataPtr = I; / initialize data /
/ Inline assembly code for Borland C++ 3.1*/
asm {
push ds
mov ax,0fc03h
mov bx,06h /* Write starts at
Содержание XE-900
Страница 19: ...19 Figure 2 1 XE 900 SBC component diagram top ...
Страница 20: ...20 Figure 2 2 XE 900 SBC component diagram bottom ...
Страница 21: ...21 Figure 2 3 XE 900 SBC dimensions without Integrated Conductive Cooling System ...
Страница 38: ...38 ...
Страница 91: ...91 Figure 15 2 Dimensions for the Integrated Conductive Cooling System ...