ADS Technologies manual AR-B185137

Page 37

AR-B1851 User’s Guide

GPI Example

Description

O 2E 87

;Extended Functions Enable Register

O 2E 87

;Extended Functions Enable Register

O 2E 2A

;select CR2A

O 2F FC

;(Define the PINs as GPIO or Game

 

Port1)”FC”Pin121~128 set as GPIO

O 2E 07

;EFIR=EFER(Extended Functions Index

 

Register)point to Logical Device Number Reg.

O 2F 07

;EFDR=EFIR+1(select logical device 7,GPIO in

 

logical device7)

O 2E 30

;select CR30(Active or inactive)

O 2F 01

;set 01(Active) , 00(Inactive)

O 2E F0

;select CRF0(Set the PINs be GPO or GPI

 

Funciton)

O 2F FF

;set the PINs be GPI

O 2E F1

;select CRF1(Set the PINs be Read only)

I 2F

;Show the PINs Value

Q

;Quit debug

AR-B185137

Image 37
Contents AR-B1851 AR-B18512 @CopyrightContents AR-B18514 Award Bios SetupAR-B18515 SpecificationsAR-B18516 AR-B18517 What You HaveAR-B1851’s Layout Top Placement AR-B18518Bottom Placement AR-B18519 Power Button Setting Jumper description Cmos ResetDescription JP4 Select COM4 is RS232 or RS422/485JP6 Select LCD Voltage AR-B185112IDE 1 Secondary IDE Connector 44 Pins Ultra ATA33/66/100 IDE Disk Drive ConnectorIDE1AR-B1851 COM2 RS-232 Serial port Pin Header Serial PortsCOM1~4COM1 RS-232 with RS-422/485 Serial portPin Header AR-B185114USB Port ConnectorUSB1~4 Keyboard / Mouse ConnectorMSKB1LAN RJ45 Connector LAN1/2 Fan Connector FAN1FAN1 Fan Connector for CPU LAN1/2 LAN RJ45 ConnectorCF1 Compact Flash Storage Card Socket pin assignment Compact Flash Storage Card SocketCF1AR-B185117 Audio ConnectorAUDIO1 VGA ConnectorVGA1VGA1 15-pin D-Sub Connector AUDIO1 Audio Pin HeaderSpeak ConnectorSPK1 11 8-BIT Gpio ConnectorGPIO1DDR Sodimm Socket J1 PRN1 Parallel Port Connector Lvds ConnectorLVDS1LVDS1 Lvds Interface Connector Parallel portPRN1Using Setup Starting SetupPress DEL to enter Setup IntroductionAR-B185122 Options Description Main MenuAR-B185124 IDE AdaptersCylinder0 Head0 Precomp0 Landing Zone0 Sector0 Apic Mode Advanced Bios FeaturesQuick Power On Self Test Full Screen Logo ShowPower Supply Type Boot DisplayPwron After Power-Fail PS/2 Mouse FunctionResource controlled by PnP/PCI Configuration SetupIRQ Resources IRQ3/4/5/7/9/10/11/12/14/15 assigned toPeripheral Uart Mode SelectOnboard Serial Port 1/Port Onboard Serial Port 3/PortUSB Controller Onboard Parallel PortUSB 2.0 Controller AR-B185130PC Health Shutdown TemperatureAR-B185131 First/Second/Third/Other Boot Device BootAR-B185132 Load Optimized Defaults AR-B185133 Save & Exit SetupExit Selecting Save to Cmos and Exit Y/N? YExit Without Saving Load Fail-Safe DefaultsQuit without saving Y/N? Y AR-B185134Appendix A. Watchdog Timer AR-B185136 Appendix B Digital I/OAR-B185137 Appendix C I/O Address Map COM3 AR-B185140 1DFF0000-1DFFFFFFAR-B185141 IRQ Mapping Chart