PC400 / PC410 l User’s Manual
69
GPIO Sample Code
GPI 1 ~ GPI 8
GPO 1 ~ GPO 8
#define GPI1to4_ADDR
0xA03
#define GPI5to8_ADDR
0xA06
#define GPO1to4_ADDR
0xA02
#define GPO5_ADDR
0xA06
#define GPO6_ADDR
0xA04
#define GPO7_ADDR
0xA08
#define GPO8_ADDR
0xA04
#define GPO1_DataHigh
0x01
#define GPO2_DataHigh
0x02
#define GPO3_DataHigh
0x04
#define GPO4_DataHigh
0x08
#define GPO5_DataHigh
0x10
#define GPO6_DataHigh
0x80
#define GPO7_DataHigh
0x01
#define GPO8_DataHigh
0x80
#define WriteByte
outportb
#define ReadByte
inportb
Appendix – WDT & GPIO
GPI 1
GPI 2
GPI 3
GPI 4
GPI 5
GPI 6
GPI 7
GPI 8
IO Address
0xA03h
0xA03h
0xA03h
0xA03h
0xA06h
0xA06h
0xA06h
0xA06h
Bit
4
5
6
7
0
1
2
3
Sample code
#1
GPO 1
GPO 2
GPO 3
GPO 4
GPO 5
GPO 6
GPO 7
GPO 8
IO Address
0xA02h
0xA02h
0xA02h
0xA02h
0xA06h
0xA07h
0xA08h
0xA04h
Bit
0
1
2
3
4
7
0
7
Sample code
#2
Содержание PC400 Series
Страница 1: ...PC400 Series PC Module...
Страница 8: ...Chapter 1 Product Introductions...
Страница 16: ...PC400 PC410 l User s Manual 16 1 4 Mechanical Dimensions 1 4 1 PC400 Unit mm Chapter 1 Product Introductions...
Страница 17: ...PC400 PC410 l User s Manual 17 1 4 2 PC410 Unit mm Chapter 1 Product Introductions...
Страница 18: ...Chapter 2 Switches and Connectors...
Страница 20: ...PC400 PC410 l User s Manual 20 2 1 2 Bottom View Chapter 2 Switches and Connectors...
Страница 33: ...Chapter 3 System Setup...
Страница 42: ...PC400 PC410 l User s Manual 3 Lock the below 6 screws M4X5L to finish assembly 42 Chapter 3 System Setup...
Страница 43: ...Chapter 4 BIOS Setup...
Страница 46: ...PC400 PC410 l User s Manual 4 3 Advanced Setup 46 Chapter 4 BIOS Setup...
Страница 71: ...Copyright 2016 C T Solution Inc All Rights Reserved www candtsolution com...