CT-DWL01 l User’s Manual
82
#define GPIO_Port
0xF1
//Enter_Config
WriteByte (AddrPort, SIO_UnLock_Value);
WriteByte (AddrPort, SIO_UnLock_Value);
WriteByte (AddrPort, 0x07);
WriteByte (DataPort, SIO_LDN_GPIO);
//Set OUT1~OUT4Value
WriteByte (AddrPort, GPIO_Port);
WriteByte (DataPort, 0x00); //set OUT1~OUT8 value, OUT1=Bit0, OUT2=Bit1
// Read In1~In4 value
WriteByte (AddrPort, 0xED);
Data= ReadByte (DataPort); //Read In1~In8 value
// close config mode
WriteByte (AddrPort, SIO_Lock_Value);
Appendix – WDT & GPIO
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
OUT4
OUT3
OUT2
OUT1
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
IN4
IN3
IN2
IN1
Содержание CT-DWL01
Страница 7: ...Chapter 1 Product Introductions...
Страница 11: ...Chapter 2 Mechanical Specifications...
Страница 13: ...CT DWL01 l User s Manual 13 Chapter 2 Mechanical Specifications 2 1 2 Bottom View CN31...
Страница 39: ...Chapter 3 Features Interface...
Страница 43: ...Chapter 4 Driver Installation...
Страница 45: ...Chapter 5 System BIOS...
Страница 48: ...CT DWL01 l User s Manual 5 3 Advanced Setup 48 Chapter 5 BIOS Setup...
Страница 71: ...CT DWL01 l User s Manual PCI Express Configuration 71 Chapter 5 BIOS Setup...
Страница 84: ...Copyright C T Solution Inc All Rights Reserved www candtsolution com...