CV
-
100/
P2000 Series | User Manual
121
5.1.1.4 Sample Code in C Language
5.1.1.4.1 Control of GP70 to GP77
#define AddrPort 0x4E
#define DataPort 0x4F
<Enter the Extended Function Mode>
WriteByte(AddrPort, 0x87)
WriteByte(AddrPort, 0x87)
// Must write twice to enter Extended mode
<Select Logic Device>
WriteByte(AddrPort, 0x07)
WriteByte(dataPort, 0x06)
// Select logic device 06h
<Input Mode Selection>
// Set GP70 to GP77 input Mode
WriteByte(AddrPort, 0x80)
// Select configuration register 80h
Summary of Contents for CV-100/P2000 Series
Page 28: ...CV 100 P2000 Series User Manual 28 Chapter 1 Product Introductions ...
Page 33: ...CV 100 P2000 Series User Manual 33 Dimensions CV 112H P2002 CV 112H P2002E ...
Page 36: ...CV 100 P2000 Series User Manual 36 Dimensions CV 115 P2002 CV 115 P2002E ...
Page 39: ...CV 100 P2000 Series User Manual 39 Dimensions CV W115 P2002 CV W115 P2002E ...
Page 42: ...CV 100 P2000 Series User Manual 42 Dimensions CV 117 P2002 CV 117 P2002E ...
Page 45: ...CV 100 P2000 Series User Manual 45 Dimensions CV 119 P2002 CV 119 P2002E ...
Page 48: ...CV 100 P2000 Series User Manual 48 Dimensions CV W121 P2002 CV W121 P2002E ...
Page 51: ...CV 100 P2000 Series User Manual 51 Dimensions CV W124 P2002 CV W124 P2002E ...
Page 55: ...CV 100 P2000 Series User Manual 55 Chapter 2 Switches Connectors ...
Page 56: ...CV 100 P2000 Series User Manual 56 2 1 Location of the Switches Connectors 2 1 1 Top View ...
Page 57: ...CV 100 P2000 Series User Manual 57 2 1 2 Bottom View ...
Page 68: ...CV 100 P2000 Series User Manual 68 Chapter 3 System Setup ...
Page 95: ...CV 100 P2000 Series User Manual 95 ...
Page 97: ...CV 100 P2000 Series User Manual 97 Chapter 4 BIOS Setup ...
Page 117: ...CV 100 P2000 Series User Manual 117 Chapter 5 Product Application ...
Page 120: ...CV 100 P2000 Series User Manual 120 ...