CV
-
100/
P1100 Series | User Manual
111
5.1.1.4.2 Control of GP80 to GP83 (DO1 ~ DO4)
#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
<Output Mode Selection>
// Set GP80 to GP83 output Mode
WriteByte(AddrPort, 0x88)
// Select configuration register 88h
WriteByte(DataPort, 0xXF))
// Set (bit 0~3) = 1 to select GP 80 ~83 as Output mode.
<Output Value>
WriteByte(AddrPort, 0x89)
// Select configuration register 89h
WriteByte(DataPort, Value)
// Set bit 0~3=(0/1) to output GP 80~83 as Low or High
<Leave the Extended Function Mode>
WriteByte(AddrPort, 0xAA)
Summary of Contents for CV-100/P1100 Series
Page 15: ...CV 100 P1100 Series User Manual 15 Chapter 1 Product Introductions ...
Page 21: ...CV 100 P1100 Series User Manual 21 Dimension CV 108 P1101 Unit mm ...
Page 25: ...CV 100 P1100 Series User Manual 25 Dimension CV 110 P1101 Unit mm ...
Page 29: ...CV 100 P1100 Series User Manual 29 Dimension CV 110H P1101 Unit mm ...
Page 33: ...CV 100 P1100 Series User Manual 33 Dimension CV 112H P1101 Unit mm ...
Page 37: ...CV 100 P1100 Series User Manual 37 Dimension CV 115 P1101 Unit mm ...
Page 41: ...CV 100 P1100 Series User Manual 41 Dimension CV W115 P1101 Unit mm ...
Page 45: ...CV 100 P1100 Series User Manual 45 Dimension CV 117 P1101 Unit mm ...
Page 49: ...CV 100 P1100 Series User Manual 49 Dimension CV 119 P1101 Unit mm ...
Page 53: ...CV 100 P1100 Series User Manual 53 Dimension CV W121 P1101 Unit mm ...
Page 57: ...CV 100 P1100 Series User Manual 57 Dimension CV W124 P1101 Unit mm ...
Page 61: ...CV 100 P1100 Series User Manual 61 Chapter 2 Switches Connectors ...
Page 62: ...CV 100 P1100 Series User Manual 62 2 1 Location of Switches and Connectors 2 1 1 Top View ...
Page 63: ...CV 100 P1100 Series User Manual 63 2 1 2 Bottom View ...
Page 71: ...CV 100 P1100 Series User Manual 71 Chapter 3 System Setup ...
Page 87: ...CV 100 P1100 Series User Manual 87 ...
Page 89: ...CV 100 P1100 Series User Manual 89 Chapter 4 BIOS Setup ...
Page 107: ...CV 100 P1100 Series User Manual 107 Chapter 5 Product Application ...