CV
-
100/
P2000 Series | User Manual
122
WriteByte(DataPort, (ReadByte(DataPort) ǀ 0x00))
// Set (bit 0~7) = 0 to select GP 70~77 as Input mode.
<Input Value>
WriteByte(AddrPort, 0x82)
// Select configuration register 82h
ReadByte(DataPort, Value)
// Read bit 0~7 (0xFF)= GP70 ~77 as High.
<Leave the Extended Function Mode>
WriteByte(AddrPort, 0xAA)
5.1.1.4.2 Control of GP80 to GP87
#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 GP87 output Mode
WriteByte(AddrPort, 0x88)
// Select configuration register 88h
WriteByte(DataPort, (ReadByte(DataPort) & 0xFF))
// Set (bit 0~7) = 1 to select GP 80 ~87 as Output mode.
<Output Value>
WriteByte(AddrPort, 0x89)
// Select configuration register 89h
WriteByte(DataPort, Value)
// Set bit 0~7=(0/1) to output GP 80~87 as Low or High
<Leave the Extended Function Mode>
WriteByte(AddrPort, 0xAA)
Содержание CV-100/P2000 Series
Страница 28: ...CV 100 P2000 Series User Manual 28 Chapter 1 Product Introductions ...
Страница 33: ...CV 100 P2000 Series User Manual 33 Dimensions CV 112H P2002 CV 112H P2002E ...
Страница 36: ...CV 100 P2000 Series User Manual 36 Dimensions CV 115 P2002 CV 115 P2002E ...
Страница 39: ...CV 100 P2000 Series User Manual 39 Dimensions CV W115 P2002 CV W115 P2002E ...
Страница 42: ...CV 100 P2000 Series User Manual 42 Dimensions CV 117 P2002 CV 117 P2002E ...
Страница 45: ...CV 100 P2000 Series User Manual 45 Dimensions CV 119 P2002 CV 119 P2002E ...
Страница 48: ...CV 100 P2000 Series User Manual 48 Dimensions CV W121 P2002 CV W121 P2002E ...
Страница 51: ...CV 100 P2000 Series User Manual 51 Dimensions CV W124 P2002 CV W124 P2002E ...
Страница 55: ...CV 100 P2000 Series User Manual 55 Chapter 2 Switches Connectors ...
Страница 56: ...CV 100 P2000 Series User Manual 56 2 1 Location of the Switches Connectors 2 1 1 Top View ...
Страница 57: ...CV 100 P2000 Series User Manual 57 2 1 2 Bottom View ...
Страница 68: ...CV 100 P2000 Series User Manual 68 Chapter 3 System Setup ...
Страница 93: ...CV 100 P2000 Series User Manual 93 3 18 Panel Mount 1 Accessories provided by Cincoze are as follows ...
Страница 95: ...CV 100 P2000 Series User Manual 95 ...
Страница 97: ...CV 100 P2000 Series User Manual 97 Chapter 4 BIOS Setup ...
Страница 117: ...CV 100 P2000 Series User Manual 117 Chapter 5 Product Application ...
Страница 120: ...CV 100 P2000 Series User Manual 120 ...
Страница 128: ...CV 100 P2000 Series User Manual 128 ...