User`s manual
User’s Manual 17
2-7. Digital I/O
1) Pin out of digital I/O header (J13):
Pin No. Function Pin No. Function
1
DIO-O0
2
DIO-I0
3
DIO-O1
4
DIO-I1
5
+12V
6
+12V
7
KEY
8
+3.3V
9
GND
10
GND
2) Digital input control port (48Fh):
The digital input port can be read directly from port address “48Fh” (data
mapping to bit0 for I0 and bit3 for I1 and the default value is “1Bh”. The input
level is 3.3V (+/-5% tolerance).
The sample code is shown below (using TurboC/C++ 3.0):
#define INPUT_PORT 0x48f
unsigned char read_data;
read_data=inportb(INPUT_PORT); //Read status from INPUT port
Attention: The SB chip might be damaged by over specifying voltage.
3) Digital output control port (48Eh):
The digital output port can be written directly by porting address “48Eh” (data
mapping to bit5 for OUT0 and bit2 for OUT1.
The sample code is shown below (using TurboC/C++ 3.0):
#define OUT_PORT 0x48e
outportb(OUT_PORT,0x20); //Set OUT0 as logic “1” and OUT1 as “0”
outportb(OUT_PORT,0x04); //Set OUT1 as logic “1” and OUT0 as “0”
outportb(OUT_PORT,0x24); //Set OUT0 and OUT1 as logic “1”
18 The ENDAT-4066i System Board
Chapter 3. AWARD BIOS SETUP
Phoenix – Award BIOS CMOS Setup Utility
> Standard CMOS Features
> Advanced BIOS Features
> Advanced Chipset Features
> Integrated Peripherals
> Power Management Setup
> PnP/PCI Configurations
> PC Health Status
> Frequency/Voltage Control
> Load Fail-Safe Defaults
> Load Optimized Defaults
> Set Supervisor Password
> Set User Password
> Save & Exit Setup
> Exit Without Saving
Use the CMOS setup program to modify the system parameters to reflect the
environment installed in your system and to customize the system as desired.
Press the <DEL> key to enter into the CMOS setup program when you turn on the
power. Settings can be accessed via arrow keys. Press <Enter> to choose an
option to configure the system properly.
In the main menu, press F10 or “SAVE & EXIT SETUP” to save your changes and
reboot the system. Choose “EXIT WITHOUT SAVING” to ignore the changes and
exit the setup procedure. Pressing <ESC> at anywhere during the setup will return
to the main menu.
“Advanced BIOS Features”, “Advanced Chipset Features” and “PnP/PCI
Configurations” requires board knowledge on PC/AT system architecture and Intel
chipset specification. They intend to be used by well-trained technicians and
experienced users. Press the <F6> key to save CMOS setting to EEPROM, Press
<F7> key can load CMOS setting from EEPROM. Incorrect setup could cause
system malfunctions.