ADS Technologies manual Appendix B Digital I/O, AR-B185136

Page 36

AR-B1851 User’s Guide

Appendix B: Digital I/O

One characteristic of digital circuit is its fast response to high or low signal. This kind of response is highly needed for harsh and critical industrial operating environment. Digital Input and Output, generally, are control signals. You can use these signals to control external devices that needs On/Off circuit or TTL devices. You can read or write data to the selected address to enable the function of digital IO.

Users could test GPIO function under ‘Debug.exe’ program as follow:

GPO Example

Description

O 2E 87

;Eetended Functions Enable Register

O 2E 87

;Eetended Functions Enable Register

O 2E 2A

;Select CR2A

O 2F FC

;(Define the PINs as GPIO or Game Port 1)

 

“FC” Pin 121~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 device 7)

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

 

Function)

O 2F 00

;set the PINs be GPO

O 2E F2

;select CRF2(Output High/Low)

O 2F 00

;set the PINs be all Low Level(FF=all High

 

Level)

O 2E F1

;select CRF1

O 2F FF

;set the Output to be FF(all High)

O 2E AA

;exit EFER

Q

;quit debug

AR-B185136

Image 36
Contents AR-B1851 @Copyright AR-B18512Contents Award Bios Setup AR-B18514Specifications AR-B18515AR-B18516 What You Have AR-B18517Top Placement AR-B18518 AR-B1851’s LayoutBottom Placement AR-B18519 Power Button Setting Cmos Reset Jumper descriptionJP4 Select COM4 is RS232 or RS422/485 DescriptionJP6 Select LCD Voltage AR-B185112Ultra ATA33/66/100 IDE Disk Drive ConnectorIDE1 IDE 1 Secondary IDE Connector 44 PinsAR-B1851 Serial PortsCOM1~4 COM2 RS-232 Serial port Pin HeaderCOM1 RS-232 with RS-422/485 Serial portPin Header AR-B185114Keyboard / Mouse ConnectorMSKB1 USB Port ConnectorUSB1~4Fan Connector FAN1 LAN RJ45 Connector LAN1/2FAN1 Fan Connector for CPU LAN1/2 LAN RJ45 ConnectorCompact Flash Storage Card SocketCF1 CF1 Compact Flash Storage Card Socket pin assignmentAR-B185117 VGA ConnectorVGA1 Audio ConnectorAUDIO1VGA1 15-pin D-Sub Connector AUDIO1 Audio Pin Header11 8-BIT Gpio ConnectorGPIO1 Speak ConnectorSPK1DDR Sodimm Socket J1 Lvds ConnectorLVDS1 PRN1 Parallel Port ConnectorLVDS1 Lvds Interface Connector Parallel portPRN1Starting Setup Using SetupPress DEL to enter Setup IntroductionAR-B185122 Main Menu Options DescriptionIDE Adapters AR-B185124Cylinder0 Head0 Precomp0 Landing Zone0 Sector0 Advanced Bios Features Apic ModeQuick Power On Self Test Full Screen Logo ShowBoot Display Power Supply TypePwron After Power-Fail PS/2 Mouse FunctionPnP/PCI Configuration Setup Resource controlled byIRQ Resources IRQ3/4/5/7/9/10/11/12/14/15 assigned toUart Mode Select PeripheralOnboard Serial Port 1/Port Onboard Serial Port 3/PortOnboard Parallel Port USB ControllerUSB 2.0 Controller AR-B185130Shutdown Temperature PC HealthAR-B185131 Boot First/Second/Third/Other Boot DeviceAR-B185132 Save & Exit Setup Load Optimized Defaults AR-B185133 Exit Selecting Save to Cmos and Exit Y/N? YLoad Fail-Safe Defaults Exit Without SavingQuit without saving Y/N? Y AR-B185134Appendix A. Watchdog Timer Appendix B Digital I/O AR-B185136AR-B185137 Appendix C I/O Address Map COM3 1DFF0000-1DFFFFFF AR-B185140IRQ Mapping Chart AR-B185141