The E2KEY.OBJ provides two library functions for you to integrate your application
with the E
2
KEY function. The read_e2key and write_e2key libraries are written and
compiled in C language. To implement them, refer to the functions below:
*/unsigned int read_e2key(unsigned int address): This function will return the
E
2
KEY data to a certain 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 to a certain address. The address is from 0 to 63. The data
value is from 0 to 0xffff.
To begin using this function, refer to the included EKEYDEMO.C code.
Note:
The E
2
KEY function is based on the parallel port. Therefore, you should enable
SBC-370's parallel port or it will not work.
CONNECTING TO AN ATX POWER SUPPLY
To Connect ATX Power Supply to the Backplanes and/or the ISBC Card
1.
Disconnect the AC cord from the power supply to prevent sudden electric surge.
2.
Connect the ATX power supply switch to the pin 17 (power button) and pin 19
(+5VSB) of CN7 (multi panel) on the board.
•
To turn off the power supply, push the ATX power switch button for about four seconds.
•
To turn the system on, push the button once.
Features
10
Figure 1. SBC-370
(through Power
Button and +5VSB).