
Appendix B
81
The GPIO& WDT are using internal Super IO
function
s
. However, you must ent
er
super I/O configuration
mode to set it.
The output port is set as GPIO 1 on CN13 , reg. index =
0x60
The input port is set as GPIO 4 on CN12 , reg. index =
0x62
.
Super I/O special address port = 0x2E
Super I/O special data port
= 0x2F
GPIO Logical device is 0x07
//write twice 0x87 value.
outportb(
Super I/O special address port
, 0x87);
outportb(
Super I/O special address port
, 0x01);
outportb(
Super I/O special address port
, 0x55);
outportb(
Super I/O special address port
, 0x55);
//write 0x07 on Reg [0x07] , this setup must follow Step A. that can be workable.
outportb(
Super I/O special address port
, 0x07);
outportb(
Super I/O special data port
, 0x07);
Base control for write Super I/O register.
outportb(
special address port
, Register Index.);
outportb(
special data port
, update_value);
Base control for read Super I/O register
outportb(
special address port
, Register Index.);
inportb(
special data port
); //It will return a BYTE value.
Please refer to source code for set_data() and get_data() function.
Write data to GPO(output) port
set_data( Register Index , update_value);
example :
unsigned char data = 0x82;
set_data( 0xE5 , data);
//Set bit 7 & bit 1 of GPO output port as High level ,another bit is Low
ppendix B : GPIO & WDT Function
A
A. Entry MB PnP Mode
B. Located on Logical Device 7
C. Access the Super I/O Register
D. Start to Access the
Cortex
GPIO Port
Summary of Contents for Cortex vX series
Page 1: ...Rev1 0 3 11 13 2013 All information is subject to change without notice from Rugged Science...
Page 20: ...13 Product Introduction 1 4 Mechanical Dimension Figure 1 1 Cortex v7090S...
Page 22: ...15 Product Introduction Figure 1 3 Cortex v7460F...
Page 24: ...17 Product Introduction Figure 1 5 Cortex v7062...
Page 26: ...19 Getting to Know Your Cortex vX Figure 1 7 Cortex v7040...
Page 28: ...21 Getting to Know Your Cortex vX Figure 1 9 Cortex v7020...
Page 68: ...61 System Setup Select one of the SATA DOM connectors and plug in your SATA DOM Step3...