WynMax WMIX-D5256 User Manual page 57

Intel atom d525
Table of Contents

Advertisement

// Select Logic Device 7
outp(0x002E, 0x07);
outp(0x002F, 0x07);
// Active Logic Device 7
outp(0x002E, 0x30);
outp(0x002F, 0x01);
// Select Inversion Mode
outp(0x002E, 0xF2);
outp(0x002F, (inp(0x002F) & 0x3C) | ( Inversion Register & 0xC3));
// Select I/O Mode
outp(0x002E, 0xF0);
outp(0x002F, (inp(0x002F) & 0x3C) | ( I/O Selection Register & 0xC3));
// Access GPIO ports
outp(0x002E, 0xF1);
outp(0x002F, (inp(0x002F) & 0x3C) | ( Output Data & 0xC3));
or
Input Data = inp(0x002F);
// Exit Extended Function Mode
outp(0x002E, 0xAA);
Definitions of Variables:
Each bit in the lower nibble of each Register represents the setting of a GPIO port.
Super IO Pin
128
127
126
125
124
123
122
121
Bit
GPIO DIO
0
GPIO DIO-Out0
1
GPIO DIO-Out1
2
GPIO DIO-In0
3
GPIO DIO-In1
4
GPIO DIO-In2
5
GPIO DIO-In3
6
GPIO DIO-Out2
7
GPIO DIO-Out3
57

Advertisement

Table of Contents
loading

Related Products for WynMax WMIX-D5256

Table of Contents