- 67 -
Appendix
unsigned long ECU_Read_686C_RAM_BYTE( unsigned long ECUMemAddr )
{
unsigned long uDATA1,uDATA2,ECRamAddrH,ECRamAddrL;
ECRamAddrL=ECUMemAddr%256; ECRamAddrH=ECUMemAddr/256;
//
uDATA1=Process_686C_Command_Write(0x000000A3, ECRamAddrH );
if ( uDATA1==0xFFFFFFFF ) { return 0xFFFFFFFF; }
//
uDATA1=Process_686C_Command_Write(0x000000A2, ECRamAddrL );
if ( uDATA1==0xFFFFFFFF ) { return 0xFFFFFFFF; }
//
uDATA1=Process_686C_Command_Read( 0x000000A4 );
if ( uDATA1 > 0x000000FF ) { return 0xFFFFFFFF; }
uDATA2=Process_686C_Command_Read( 0x000000A4 );
if ( uDATA2 > 0x000000FF ) { return 0xFFFFFFFF; }
if (uDATA1==uDATA2) return uDATA1;
else return 0xFFFFFFFF;
}
//----------------------------------------------------------------------
------
unsigned long ECU_Write_686C_RAM_BYTE( unsigned long ECUMemAddr,unsigned
long ECUMemData )
{
unsigned long uDATA, RD_DATA, ECRamAddrH, ECRamAddrL;
ECRamAddrL=ECUMemAddr%256; ECRamAddrH=ECUMemAddr/256;
//
uDATA=Process_686C_Command_Write(0x000000A3, ECRamAddrH );
if ( uDATA==0xFFFFFFFF ) { return 0xFFFFFFFF;}
//
uDATA=Process_686C_Command_Write(0x000000A2, ECRamAddrL );
if ( uDATA==0xFFFFFFFF ) { return 0xFFFFFFFF;}
//
uDATA=Process_686C_Command_Write(0x000000A5, ECUMemData );
if ( uDATA==0xFFFFFFFF ) { return 0xFFFFFFFF;}
//
return 0x00000000;
}
main()
{
unsigned long ldata;
unsigned long temp;
int res=0;
FILE * keyfd = NULL;
Содержание M1858
Страница 2: ...2 This page is intentionally left blank...
Страница 4: ...ii This page is intentionally left blank...
Страница 15: ...1 1 Chapter 1 General Information Chapter 1 General Information...
Страница 21: ...7 2 Chapter 2 Getting Started Chapter 2 Getting Started...
Страница 22: ...8 Getting Started 2 1 Dimensions 337 502 558 66 47 Unit mm...
Страница 43: ...29 3 Chapter 3 Use the Computer Chapter 3 Use the Computer...
Страница 47: ...33 Use the Computer 6 Or you can choose Program to set Function Keys as any program s hot key...
Страница 53: ...39 Use the Computer 3 Set destination folder...
Страница 54: ...40 Use the Computer 4 Click Preview and the window below will jump out showing video the CCD camera records...
Страница 57: ...43 4 Chapter 4 BIOS Chapter 4 BIOS...
Страница 64: ...50 BIOS 4 4 Boot Settings Set your device booting preferences Host Bridge Display Host Bridge Parameters...
Страница 68: ...54 This page is intentionally left blank...
Страница 69: ...55 Appendix Appendix...
Страница 103: ...89 Appendix Drawing Test Grid...
Страница 114: ...100 Appendix This tab provides a general overview of the eGalax driver H 2 8 About Tab...
Страница 115: ...101 This page is intentionally left blank...