- DL manuals
- Aaeon
- Desktop
- BOXER-6640
- User Manual
Aaeon BOXER-6640 User Manual
Summary of BOXER-6640
Page 1
Last updated: october 3, 2017 boxer-6640 fanless embedded box pc user’s manual 1 st ed.
Page 2
Preface ii fan les s e mb ed ded bo x pc bo xe r- 66 40 copyright notice this document is copyrighted, 2017. All rights are reserved. The original manufacturer reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be r...
Page 3
Preface iii fan les s e mb ed ded bo x pc bo xe r- 66 40 acknowledgement all other products’ name or trademarks are properties of their respective owners. Microsoft windows ® is a registered trademark of microsoft corp. Intel ® , platium ® , celeron ® , and xeon ® are registered trademarks of intel ...
Page 4
Preface iv fan les s e mb ed ded bo x pc bo xe r- 66 40 packing list before setting up your product, please make sure the following items have been shipped: item quantity boxer-6640 1 wallmount bracket 2 screw package 1 thermal pad 1 phoenix power connector 1 product dvd with user’s manual (in pdf) ...
Page 5
Preface v fan les s e mb ed ded bo x pc bo xe r- 66 40 about this document this user’s manual contains all the essential information, such as detailed descriptions and explanations on the product’s hardware and software features (if any), its specifications, dimensions, jumper/connector settings/def...
Page 6
Preface vi fan les s e mb ed ded bo x pc bo xe r- 66 40 safety precautions please read the following safety instructions carefully. It is advised that you keep this manual for future references 1. All cautions and warnings on the device should be noted. 2. Make sure the power source matches the powe...
Page 7
Preface vii fan les s e mb ed ded bo x pc bo xe r- 66 40 17. If any of the following situations arises, please the contact our service personnel: i. Damaged power cord or plug ii. Liquid intrusion to the device iii. Exposure to moisture iv. Device is not working as expected or in a manner as describ...
Page 8
Preface viii fan les s e mb ed ded bo x pc bo xe r- 66 40 fcc statement this device complies with part 15 fcc rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received including interfere...
Page 9
Preface ix fan les s e mb ed ded bo x pc bo xe r- 66 40 china rohs requirements (cn) 产品中有毒有害物质或元素名称及含量 aaeon embedded box pc/ industrial system 部件名称 有毒有害物质或元素 铅 (pb) 汞 (hg) 镉 (cd) 六价铬 (cr(vi)) 多溴联苯 (pbb) 多溴二苯醚 (pbde) 印刷电路板 及其电子组件 ○ ○ ○ ○ ○ ○ 外部信号 连接器及线材 ○ ○ ○ ○ ○ ○ 外壳 ○ ○ ○ ○ ○ ○ 中央处理器 与内存 ○ ○ ○ ○ ○...
Page 10
Preface x fan les s e mb ed ded bo x pc bo xe r- 66 40 china rohs requirement (en) poisonous or hazardous substances or elements in products aaeon embedded box pc/ industrial system component poisonous or hazardous substances or elements lead (pb) mercury (hg) cadmium (cd) hexavalent chromium (cr(vi...
Page 11
Preface xi fan les s e mb ed ded bo x pc bo xe r- 66 40 table of contents chapter 1 - product specifications ........................................................................................ 1 1.1 specifications ....................................................................................
Page 12
Preface xii fan les s e mb ed ded bo x pc bo xe r- 66 40 3.1 system test and initialization ............................................................................. 32 3.2 ami bios setup .................................................................................................... 33 3.3 ...
Page 13
Preface xiii fan les s e mb ed ded bo x pc bo xe r- 66 40 a.1 watchdog timer initial program ....................................................................... 63 appendix b - i/o information .............................................................................................. 68 b.1 i...
Page 14
Fan les s e mb ed ded bo x pc bo xe r- 66 40 chapter 1 chapter 1 - product specifications.
Page 15
Chapter 1 – product specifications 2 fan les s e mb ed ded bo x pc bo xe r- 66 40 1.1 specifications system processor intel® core™ i7-7700t, quad core, 2.9 ghz intel® core™ i5-7600t, quad core, 2.8 ghz intel® core™ i3-7300t, dual core, 3.5 ghz intel® core™ i7-6700te, quad core, 2.4 ghz intel® core™ ...
Page 16
Chapter 1 – product specifications 3 fan les s e mb ed ded bo x pc bo xe r- 66 40 os support windows® 10 (64-bit) windows® 8.1 (64-bit) wes7/wes8/win 7 mechanical construction rugged aluminum extrusion and heavy-duty steel mounting wallmount din rail (optional) dimension (w x h x d) 264mm x 96.4mm x...
Page 17
Fan les s e mb ed ded bo x pc bo xe r- 66 40 chapter 2 chapter 2 – hardware information.
Page 18
Chapter 2 – hardware information 5 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.1 dimensions 2 6 4 . 1 5 2 9 8 . 1 5 1 8 6 .2 0 1 0 0 .0 0 2 8 2 . 1 5 1 8 6 . 2 0 1 1 0 .4 2 1 8 6 . 2 0 9 6 .4 2 boxer- 6 6 4 0 2 6 4 . 1 5 2 9 8 . 1 5 1 8 6 .2 0 1 0 0 .0 0 2 8 2 . 1 5 1 8 6 . 2 0 1 1 0 .4 2 1 8 6 ....
Page 19
Chapter 2 – hardware information 6 fan les s e mb ed ded bo x pc bo xe r- 66 40 a1 2 6 4 . 1 5 2 9 8 . 1 5 1 8 6 .2 0 1 0 0 .0 0 2 8 2 . 1 5 1 8 6 . 2 0 1 1 0 .4 2 1 8 6 . 2 0 9 6 .4 2 boxer- 6 6 4 0 2 6 4 . 1 5 2 9 8 . 1 5 1 8 6 .2 0 1 0 0 .0 0 2 8 2 . 1 5 1 8 6 . 2 0 1 1 0 .4 2 1 8 6 . 2 0 9 6 .4 ...
Page 20
Chapter 2 – hardware information 7 fan les s e mb ed ded bo x pc bo xe r- 66 40 2 6 4 . 1 5 2 9 8 . 1 5 1 8 6 .2 0 1 0 0 .0 0 2 8 2 . 1 5 1 8 6 . 2 0 1 1 0 .4 2 1 8 6 . 2 0 9 6 .4 2 boxer- 6 6 4 0 2 6 4 . 1 5 2 9 8 . 1 5 1 8 6 .2 0 1 0 0 .0 0 2 8 2 . 1 5 1 8 6 . 2 0 1 1 0 .4 2 1 8 6 . 2 0 9 6 .4 2 b...
Page 21
Chapter 2 – hardware information 8 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.2 jumpers and connectors pc ie cn8.
Page 22
Chapter 2 – hardware information 9 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.3 list of jumpers please refer to the table below for all of the system’s jumpers that you can configure for your application. Label function jp1 at/atx mode select jp6 clear cmos.
Page 23
Chapter 2 – hardware information 10 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.4 block diagram.
Page 24
Chapter 2 – hardware information 11 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5 list of connectors please refer to the table below for all of the system’s connectors that you can configure for your application label function cn1 crt port cn2/cn8 dc-in cn3 hdmi2/dp2 connector cn4 hdmi1/dp2 conne...
Page 25
Chapter 2 – hardware information 12 fan les s e mb ed ded bo x pc bo xe r- 66 40 com2 dual com port (com3/ com4) pcie1 minicard connector(sata only) pcie2 minicard connector cn15 sim card connector.
Page 26
Chapter 2 – hardware information 13 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5.1 setting jumpers you configure your card to match the needs of your application by setting jumpers. A jumper is the simplest kind of electric switch. It consists of two metal pins and a small metal clip (often prot...
Page 27
Chapter 2 – hardware information 14 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5.3 auto power button (jp1) disable enable (default) jp1 function 1-2 normal (default) 2-3 clear cmos 2.5.4 mini card connector with on board sim pin signal pin signal 1 pcie_wake# 2 +v3.3a 3 nc 4 gnd 5 nc 6 +1.5v 7 p...
Page 28
Chapter 2 – hardware information 15 fan les s e mb ed ded bo x pc bo xe r- 66 40 17 nc 18 gnd 19 nc 20 w_disable# 21 gnd 22 pcie_rst# 23 pcie_rx- 24 +v3.3a 25 pcie_rx+ 26 gnd 27 gnd 28 +1.5v 29 gnd 30 smb_clk pcie_tx- 31 pcie_tx- 32 smb_data 33 pcie_tx+ 34 gnd 35 gnd 36 usb_d- 37 gnd 38 usb_d+ 39 +v...
Page 29
Chapter 2 – hardware information 16 fan les s e mb ed ded bo x pc bo xe r- 66 40 pin pin name signal type signal level 3 sata_tx- diff 4 gnd gnd 5 sata_rx- diff 6 sata_rx+ diff 7 gnd gnd 2.5.6 (pwr1/ pwr2/ pwr3) sata pwr port pin pin name level 1 +12v 12v 2 gnd gnd 3 gnd gnd 4 +5v 5v.
Page 30
Chapter 2 – hardware information 17 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5.7 lan + usb 3.0 pin signal pin signal c1 mdi0+ u2 mdi0- c3 mdi1+ u4 mdi2+ c5 mdi2- u6 mdi1- c7 mdi3+ u8 mdi3- u1 vbus_1 u10 vbus_2 u2 (a)d- u11 (b)d- u3 (a)d+ u12 (b)d+ u4 gnd u13 gnd u5 (a)ssrx- u14 (b)ssrx- u6 (a)...
Page 31
Chapter 2 – hardware information 18 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5.8 vga port pin signal pin signal 1 red 2 green 3 blue 4 nc 5 gnd 6 gnd 7 gnd 8 gnd 9 vga_vcc 10 gnd 11 nc 12 ddc_data 13 vga_hsync 14 vga_vsync 15 ddc_clk.
Page 32
Chapter 2 – hardware information 19 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5.9 dc-in pin signal pin signal 1 pwr_in 2 gnd 3 nc 2.5.10 hdmi port pin signal pin signal 1 hdmi_data2_p 2 gnd 3 hdmi_data2_n 4 hdmi_data1_p 5 gnd 6 hdmi_data1_n 7 hdmi_data0_p 8 gnd 9 hdmi_data0_n 10 hdmi_clk_p 11 g...
Page 33
Chapter 2 – hardware information 20 fan les s e mb ed ded bo x pc bo xe r- 66 40 9 hdmi_data0_n 10 hdmi_clk_p 11 gnd 12 hdmi_clk_n 13 nc 14 nc 15 hdmi_scl 16 hdmi_sda 17 gnd 18 hdmi_pwr 19 hdmi_hdp.
Page 34
Chapter 2 – hardware information 21 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.5.11 dio port pin signal pin signal 1 dio0 2 dio1 3 dio2 4 dio3 5 dio4 6 dio5 7 dio6 8 dio7 9 gnd 10 gnd 11 gnd 12 gnd 13 gnd 14 gnd 15 +5v 2.5.12 remote switch connector pin signal pin signal 1 panswh# 2 gnd 2.5.13 c...
Page 35
Chapter 2 – hardware information 22 fan les s e mb ed ded bo x pc bo xe r- 66 40 1 dcd tx- data- 2 rxd tx+ data+ 3 txd rx+ nc 4 dtr rx- nc 5 gnd nc nc 6 dsr nc nc 7 rts nc nc 8 cts nc nc 9 ri nc nc.
Page 36
Chapter 2 – hardware information 23 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.6 cpu installation turn off the system, unplug the power cord and make sure the system is off. Have intel kabylake or intel skylake-s fclga1151 processor (max. Tdp 35w) ready. Step 1: remove the screws as instructed b...
Page 37
Chapter 2 – hardware information 24 fan les s e mb ed ded bo x pc bo xe r- 66 40 step 2: install the cpu into the socket and place the thermal pad onto it..
Page 38
Chapter 2 – hardware information 25 fan les s e mb ed ded bo x pc bo xe r- 66 40 step 3: place the heatsink back on and fasten the screws as instructed below..
Page 39
Chapter 2 – hardware information 26 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.7ddr4 memory module installation step 1. Turn off the system, unplug the power cord to make sure the system is power off..
Page 40
Chapter 2 – hardware information 27 fan les s e mb ed ded bo x pc bo xe r- 66 40 step 2. Place the thermal pads onto the ram modules as instructed below..
Page 41
Chapter 2 – hardware information 28 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.8 2.5” sata drive installation turn off the system, unplug the power cord to make sure the system is power off. Step 1: use the hdd screws provided to assemble 2.5” sata drive with the hdd bracket step 2: assemble the...
Page 42
Chapter 2 – hardware information 29 fan les s e mb ed ded bo x pc bo xe r- 66 40
Page 43
Chapter 2 – hardware information 30 fan les s e mb ed ded bo x pc bo xe r- 66 40 2.9 power connector installation step 1: take out 3-pin green phoenix power connector from the accessory kit step 2: refer to below power pin out.
Page 44
Emb ed ded bo x pc bo xe r- 66 40 chapter 3 chapter 3 - ami bios setup.
Page 45
Chapter 3 – ami bios setup 32 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.1 system test and initialization the system uses certain routines to perform testing and initialization. If an error, fatal or non-fatal, is encountered, a few short beeps or an error message will be outputted. The board ca...
Page 46
Chapter 3 – ami bios setup 33 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.2 ami bios setup the ami bios rom has a pre-installed setup program that allows users to modify basic system configurations, which is stored in the battery-backed cmos ram and bios nvram so that the information is retained ...
Page 47
Chapter 3 – ami bios setup 34 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.3 setup submenu: main.
Page 48
Chapter 3 – ami bios setup 35 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4 setup submenu: advanced.
Page 49
Chapter 3 – ami bios setup 36 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.1 advanced: cpu configuration options summary: hyper-threading disabled enabled optimal default, failsafe default enabled for windows xp and linux (os optimized for hyper-threading technology) and disabled for other os (o...
Page 50
Chapter 3 – ami bios setup 37 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.2 advanced: sata configuration options summary: sata controller(s) enabled optimal default, failsafe default disabled enable or disable sata device. Sata mode selection ahci mode optimal default, failsafe default determin...
Page 51
Chapter 3 – ami bios setup 38 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.3 advanced: pch-fw configuration.
Page 52
Chapter 3 – ami bios setup 39 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.3.1 pch-fw configuration: firmware update configuration options summary: me fw image re-flash enabled disabled optimal default, failsafe default enable or disable me fw image re-flash function..
Page 53
Chapter 3 – ami bios setup 40 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.4 advanced: sio configuration.
Page 54
Chapter 3 – ami bios setup 41 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.4.1 sio configuration: serial port 1 configuration options summary: use this device disabled enabled optimal default, failsafe default enable or disable serial port (com) use automatic settings optimal default, failsafe d...
Page 55
Chapter 3 – ami bios setup 42 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.4.2 sio configuration: serial port 2 configuration options summary: use this device disabled enabled optimal default, failsafe default enable or disable serial port (com) use automatic settings optimal default, failsafe d...
Page 56
Chapter 3 – ami bios setup 43 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.4.3 sio configuration: serial port 3 configuration options summary: use this device disabled enabled optimal default, failsafe default enable or disable serial port (com) use automatic settings optimal default, failsafe d...
Page 57
Chapter 3 – ami bios setup 44 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.4.4 sio configuration: serial port 4 configuration options summary: use this device disabled enabled optimal default, failsafe default enable or disable serial port (com) use automatic settings optimal default, failsafe d...
Page 58
Chapter 3 – ami bios setup 45 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.5 advanced: hardware monitor.
Page 59
Chapter 3 – ami bios setup 46 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.6 advanced: usb configuration options summary: legacy usb support enabled optimal default, failsafe default disabled auto enables bios support for legacy usb support. When enabled, usb can be functional in legacy environm...
Page 60
Chapter 3 – ami bios setup 47 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.7 advanced: digital io port configuration options summary: dio type output optimal default, failsafe default input dio direction type setting low high optimal default, failsafe default dio output high/low setting.
Page 61
Chapter 3 – ami bios setup 48 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.4.8 advanced: power management options summary: power mode atx type optimal default, failsafe default at type select power supply mode. Last state optimal default, failsafe default power on power off select power state when...
Page 62
Chapter 3 – ami bios setup 49 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.5 setup submenu: chipset.
Page 63
Chapter 3 – ami bios setup 50 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.5.1 chipset: system agent (sa) configuration options summary: max tolud dynamic optimal default, failsafe default 1 gb 1.25 gb 1.5 gb 1.75 gb 2 gb 2.25 gb 2.5 gb 2.75 gb 3 gb 3.25 gb 3.5 gb maximum value of tolud. Dynamic a...
Page 64
Chapter 3 – ami bios setup 51 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.5.1.1 system agent (sa) configuration: graphics configuration options summary: primary display auto optimal default, failsafe default igfx pcie vbios default optimal default, failsafe default hdmi/dp 1 crt hdmi/dp 2 disable...
Page 65
Chapter 3 – ami bios setup 52 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.5.2 chipset: pch-io configuration options summary: hd audio disabled enabled auto optimal default, failsafe default control detection of the hd-audio device. Auto optimal default, failsafe default gen1 gen2 gen3 select pci ...
Page 66
Chapter 3 – ami bios setup 53 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.6 setup submenu: security change user/administrator password you can set a user password once an administrator password is set. The password will be required during boot up, or when the user enters the setup utility. Please...
Page 67
Chapter 3 – ami bios setup 54 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.7 setup submenu: boot options summary: quiet boot disabled enabled optimal default, failsafe default enables or disables quiet boot option. Disabled optimal default, failsafe default enabled controls the execution of uefi a...
Page 68
Chapter 3 – ami bios setup 55 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.8 boot: bbs priorities.
Page 69
Chapter 3 – ami bios setup 56 fan les s e mb ed ded bo x pc bo xe r- 66 40 3.9 setup submenu: save & exit.
Page 70
Fan les s e mb ed ded bo x pc bo xe r- 66 40 chapter 4 chapter 4 – drivers installation.
Page 71
Chapter 4 – ix developer 58 fan les s e mb ed ded bo x pc bo xe r- 66 40 4.1 product cd/dvd the boxer-6640 comes with a product dvd that contains all the drivers and utilities you need to setup your product. Insert the dvd and follow the steps in the autorun program to install the drivers. In case t...
Page 72
Chapter 4 – ix developer 59 fan les s e mb ed ded bo x pc bo xe r- 66 40 step 4 – install audio driver 1. Open the step4 - audio folder and select your os 2. Followed by the .Exe file in the folder 3. Follow the instructions 4. Drivers will be installed automatically step 5 – install usb3.0 driver 1...
Page 73
Chapter 4 – ix developer 60 fan les s e mb ed ded bo x pc bo xe r- 66 40 step 7 – install serial port driver (optional) for windows 7: 1. Change user account control settings to never notify 2. Reboot and log in as administrator.
Page 74
Chapter 4 – ix developer 61 fan les s e mb ed ded bo x pc bo xe r- 66 40 3. Run patch.Bat as administrator for windows 8 and windows 10: 1. Open the step 7 - serial port driver (optional)folder and select your os 2. Open the setup.Exe file in the folder 3. Follow the instructions 4. Drivers will be ...
Page 75
Fan les s e mb ed ded bo x pc bo xe r- 66 40 appendix a appendix a - watchdog timer programming.
Page 76
Appendix a – watchdog timer programming 63 fan les s e mb ed ded bo x pc bo xe r- 66 40 a.1 watchdog timer initial program table 1 : superio relative register table default value note index 0x2e(note1) sio mb pnp mode index register 0x2e or 0x4e data 0x2f(note2) sio mb pnp mode data register 0x2f or...
Page 77
Appendix a – watchdog timer programming 64 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ // superio relative definition (please reference to table 1) #define byte sioindex //this parameter is represented from note1 #...
Page 78: Main
Appendix a – watchdog timer programming 65 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ void main (){ // procedure : aaeonwdtconfig // (byte)timer : time of wdt timer.(0x00~0xff) // (boolean)unit : select time unit(...
Page 79
Appendix a – watchdog timer programming 66 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ // procedure : aaeonwdtenable void aaeonwdtenable () { wdtenabledisable( enableldn, enablereg, enablebit, 1 ); } // procedure :...
Page 80
Appendix a – watchdog timer programming 67 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ void sioentermbpnpmode() { iowritebyte(sioindex, 0x87); iowritebyte(sioindex, 0x87); } void sioexitmbpnpmode() { iowritebyte(si...
Page 81
Fan les s e mb ed ded bo x pc bo xe r- 66 40 appendix b appendix b - i/o information.
Page 82
Appendix b – i/o information 69 fan les s e mb ed ded bo x pc bo xe r- 66 40 b.1 i/o address map.
Page 83
Appendix b – i/o information 70 fan les s e mb ed ded bo x pc bo xe r- 66 40
Page 84
Appendix b – i/o information 71 fan les s e mb ed ded bo x pc bo xe r- 66 40 b.3 irq mapping chart.
Page 85
Fan les s e mb ed ded bo x pc bo xe r- 66 40 appendix c appendix c - electrical specifications for i/o ports.
Page 86
Appendix c – digital i/o information 73 fan les s e mb ed ded bo x pc bo xe r- 66 40 c.1 dio programming boxer-6640 utilizes fintek 81866 chipset as its digital i/o controller. Below are the procedures to complete its configuration and the aaeon initial watchdog timer program is also attached based ...
Page 87
Appendix c – digital i/o information 74 fan les s e mb ed ded bo x pc bo xe r- 66 40 c.2 dio register table 1 : superio relative register table default value note index 0x2e(note1) sio mb pnp mode index register 0x2e or 0x4e data 0x2f(note2) sio mb pnp mode data register 0x2f or 0x4f table 2 : digit...
Page 88
Appendix c – digital i/o information 75 fan les s e mb ed ded bo x pc bo xe r- 66 40 c.3 dio sample program ************************************************************************************ // superio relative definition (please reference to table 1) #define byte sioindex //this parameter is repr...
Page 89
Appendix c – digital i/o information 76 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ // digital output control relative definition (please reference to table 3) #define byte doutput1ldn // this parameter is represen...
Page 90: Main
Appendix c – digital i/o information 77 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ void main (){ boolean pinstatus ; // procedure : aaeonreadpinstatus // input : // example, read digital i/o pin 3 status // output...
Page 91
Appendix c – digital i/o information 78 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ boolean aaeonreadpinstatus(byte ldn, byte register, byte bitnum) { boolean pinstatus ; pinstatus = siobitread(ldn, register, bitnu...
Page 92
Appendix c – digital i/o information 79 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ void sioentermbpnpmode() { iowritebyte(sioindex, 0x87); iowritebyte(sioindex, 0x87); } void sioexitmbpnpmode() { iowritebyte(sioin...
Page 93
Appendix c – digital i/o information 80 fan les s e mb ed ded bo x pc bo xe r- 66 40 ************************************************************************************ boolean siobitread(byte ldn, byte register, byte bitnum) { byte tmpvalue; sioentermbpnpmode(); sioselectldn(ldn); iowritebyte(sioi...