36
/* This function will return the E
2
KEY™
’ s data at address. The
address range is from 0 to 63. Return data is one word,16 bits */
void write_e2key(unsigned int address,unsigned data)
/* This function will write the given data to E
2
KEY™
at address.
The address range is from 0 to 63. The data value is from 0 to
0xffff. */
To easy start to use the function, please refer the include
EKEYDEMO.C code at first.
Please note the E
2
KEY™ function is based on the working of
parallel port. So you should enable the ROCKY-P288EV’s
parallel port, otherwise will be not working.
StockCheck.com
Downloaded from StockCheck.com