Specifications
Table Of Contents
- Home
- Table of Contents
- 1 General Information 1-1
- 2 EBC-BX Technical Reference 2-1
- 2.1 Introduction 2-1
- 2.2 Intel FW82443BX / SMSC Victory-66 Chipset 2-1
- 2.3 Memory Installation 2-1
- 2.4 Interrupt Routing 2-2
- 2.5 Power/Reset Connections 2-3
- 2.6 Mouse Interface 2-3
- 2.7 Real Time Clock/Calendar 2-4
- 2.8 Keyboard Interface 2-4
- 2.9 Serial Interface 2-5
- 2.10 Parallel Printer Port 2-12
- 2.11 Speaker/Sound Interface 2-12
- 2.12 PC/104 Bus Interface 2-12
- 2.13 PC/104 Plus Bus Interface 2-13
- 2.14 Floppy Disk Interface 2-14
- 2.15 IDE Hard Disk Interface 2-15
- 2.16 Watchdog Timer Configuration 2-16
- 2.17 Status LED 2-16
- 2.18 Battery Select Control 2-16
- 2.19 DiskOnChip Configuration 2-17
- 2.20 Parallel I/O 2-18
- 2.21 VGA Configuration 2-21
- 2.22 Ethernet Controller 2-23
- 2.23 Fan Power Connector 2-24
- 2.24 Multi I/O Connector 2-25
- 2.25 USB Connector 2-25
- 2.26 Jumper Connector Summary 2-26
- 3 AWARD BIOS Configuration 3-1
- 3.1 General Information 3-1
- 3.2 Entering Setup 3-1
- 3.3 Setup Main Menu 3-1
- 3.4 Standard CMOS Features 3-2
- 3.5 Advanced BIOS Features Setup 3-6
- 3.6 Chipset Features Setup 3-11
- 3.7 Integrated Peripherals Setup 3-14
- 3.8 Power Management Setup 3-19
- 3.9 PNP/PCI Configuration 3-23
- 3.10 PC Health Status 3-25
- 3.11 Frequency/Voltage Control 3-25
- 3.12 Load BIOS Defaults 3-26
- 3.13 Set Supervisor Password 3-27
- 3.14 Set User Password 3-27
- 3.15 Save and Exit Setup 3-27
- 3.16 Exit without Saving 3-27
- 4 EBC-BX DiskOnChip Configuration 4-1
- 5 WS16C48 Programming Reference 5-1
- APPENDIX A I/O Port Map
- APPENDIX B Interrupt Map
- APPENDIX C EBC-BX Parts Placement Guide
- APPENDIX D EBC-BX Parts List
- APPENDIX E EBC-BX Mechanical Drawing
- APPENDIX F WS16C48 I/O Routines and Sample Program Listings
- Warranty and Repair Information

*
* polarity : This specifies the polarity of the interrupt. A non-zero
* argument enables rising-edge interrupt. A zero argument
* enables the interrupt on the flling edge.
*
* This function enables within the 16C48 an interrupt for the specified bit
* at the specified polarity. This function does not setup the interrupt
* controller, nor does it supply an interrupr handler.
*
*============================================================================*/
void enab_int(int bit_number, int polarity)
{
unsigned port;
unsigned temp;
unsigned mask;
/* Adjust for 0 based numbering */
--bit_number;
/* Calculate the I/O address based uppon the bit number */
port = (bit_number / 8) + base_port + 8;
/* Calculate a bit mask based on the specified bit number */
mask = (1 << (bit_number % 8));
/* Turn on page 2 access */
outportb(base_port+7,0x80);
/* Get the current state of the interrupt enable register */
temp = inportb(port);
/* Set the enable bit for our bit number */
temp = temp | mask;
/* Now update the interrupt enable register */
outportb(port,temp);
/* Turn on access to page 1 for polarity control */
outportb(base_port+7,0x40);
/* Get the current state of the polarity register */
temp = inportb(port); /* Get current polarity settings */
/* Set the polarity according to the argument in the image value */
if(polarity) /* If the bit is to be set */
temp = temp | mask;
else
temp = temp & ~mask;
/* Write out the new polarity value */