Advantech PCM-9587 user manual Appendix a Programming the Gpio and Watchdog Timer

Page 57

MOV AL,F2H;

OUT DX,AL

MOV DX,2FH

MOV AL,00H;Set GPIO is normal not inverter

OUT DX,AL;

MOV DX,2EH

MOV AL,F1H

OUT DX,AL

MOV DX,2FH

MOV AL,**H; Put the output value into AL **H

OUT DX,AL

---------------------------------------------------------------------------------------------------------------

Exit extended function mode

---------------------------------------------------------------------------------------------------------------

MOV DX,2EH

MOV AL,AAH

OUT DX,AL

Note! The input/output data (**) is a value of time interval. The value range is from 01 (hex) to 3F (hex), and the related time interval is 1 sec. to 62 sec.

Data Time Interval

01

1 sec.

02

2 sec

03

3 sec

04

4 sec

Appendix A Programming the GPIO and Watchdog Timer

49

PCM-9587 User Manual

Image 57
Contents PCM-9587 Copyright Acknowledgements Optional accessories Packing ListOrder Information Technical Support and Assistance Declaration of ConformityContents Software Configuration Appendix a Programming the Gpio and Watchdog Appendix C Appendix EGeneral Information ChapterFeatures SpecificationsIntroduction General Information Board layout dimensions component side Board layout dimensionsInstallation Jumpers Jumpers setting drawingJ5 COM2 RS 232/422/485 Select InstallationConnectors ConnectorsJumper & Connector component side Locating jumpers and ConnectorsClear Cmos J3 Setting JumpersIDE, Cdrom hard drive connector CN15 Installing DIMMsConnecting the hard drive Solid State DiskParallel port connector CN16 Floppy drive connector CN14Keyboard and PS/2 mouse connector CN27 Connecting the floppy driveFront Panel Connector CN22 Power connectors CN25,CN5ATX power ON/OFF switch con. pin 11-12 of CN22 COM port connector CN21 Audio AC97 Link interfaces CN417 VGA/LVDS interface connections CN7, CN8,CN9 DVI LCD panel connectorCN9 Ethernet configuration CN1119.1 100Base-T connector CN11 Network bootLCD Backlight connector CN1 USB connectors CN18,CN20Sata Connector CN23, CN24 DIO connector CN1910 CN13 System FAN connector System FAN connector CN13Page Software Configuration Connections to Standard LCDs LG LM150X06 1024x76816 colors Lvds LCDConnections to LCD/ Flat Panel CN8 This chapter describes how to set Bios configuration data Award Bios SetupSystem configuration verification Award Bios setupEntering setup System test and initializationAdvanced Bios Features setup Standard Cmos Features setupIntegrated Peripherals Advanced Chipset Features setup7 PnP/PCI Configurations Power Management SetupFrequency/Voltage Control PC Health StatusSet Password Load Optimized DefaultsExit Without Saving Save & Exit SetupPCI Graphic Display memory ChipsetDisplay types Dual/Simultaneous DisplayPCI Graphic Installation for Windows 2000/XP Installation of the PCI Graphic driverPCI Graphic Further Information Audio Setup Driver installation Before you beginWindows 2000/XP drivers Audio Setup Page LAN Configuration Installation for Windows Installation of Ethernet DriverLAN Configuration Choose Hardware Device Ethernet Controller LAN Configuration Page LAN Configuration Further information Appendix a Programming Gpio and Watchdog TimerSupported Gpio Register Gpio RegistersGpio Example program-1 Appendix a Programming the Gpio and Watchdog Timer Watchdog programming This appendix provides special- ized information regarding Pin AssignmentsCD-IN Connector CN3 TV Out Connector CN2 TV out optional by requestTable B.1 LCD Backlight Connector CN1 Table B.2 TV Out Connector CN2 TV out optional by requestAudio Output Connector CN4 Power input Connector CN512V and -5V Connector CN6 Lvds Connector CN8 VGA Connector CN7Table B.7 VGA Connector CN7 Table B.8 CN8 Lvds connectorDVI Connector CN9 Gigabit LAN Connector CN10 Optional11 10/100M LAN Connector CN11 Floppy Disk Drive Connector CN14 Gigabit LAN LED Connector CN12 OptionalTable B.12 Gigabit LAN LED Connector CN12 Table B.13 System FAN Connector CN13Printer Port Connector CN16 Primary HDD Connector CN15Table B.15 Primary HDD Connector CN15 Table B.16 Printer Port Connector CN16USB Connector CN18,20 Table B.17 USB Connector CN18,20Table B.18 DIO Connector CN19 Table B.19 COM Port Connector CN21 Sata Connector 1 CN23 Table B.20 Front panel Connector CN22Table B.21 Sata Connector 1 CN23 CPU FAN Connector CN25 Sata Connector 2 CN24Table B.22 Sata Connector 2 CN24 Table B.23 CPU FAN Connector CN25CPU FAN Connector wafer BoxOptionalCN28 Table B.25 Keyboard and Mouse Connector CN27Table B.26 CPU FAN Connector wafer boxOptionalCN28 CompactFlash Card Connector CN30 Mini PCI ConnectorCN29Table B.27 Mini PCI Connector CN29 Table B.28 CompactFlash Card Connector CN30Page System Assignments Appendix CTable C.1 System I/O Ports System I/O PortsDMA channel assignments 1st MB memory mapTable C.2 1st MB memory map Table C.3 DMA channel assignmentsTable C.4 Interrupt assignments Interrupt assignmentsOptional Extras for the PCM-9587 Appendix DPCM-10586-6200E Cable kit for PCM-9587 Table D.1 PCM-10586-6200E wiring kitMechanical Drawings Appendix EFigure E.1 PCM-9587 Mechanical Drawing component side Mechanical DrawingsAppendix E Mechanical Drawings