![Cincoze CO-100/P2002 Series Скачать руководство пользователя страница 89](http://html.mh-extra.com/html/cincoze/co-100-p2002-series/co-100-p2002-series_user-manual_2607347089.webp)
CO
-
100/P2002
Series | User Manual
89
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)
Содержание CO-100/P2002 Series
Страница 12: ...CO 100 P2002 Series User Manual 12 Chapter 1 Product Introductions ...
Страница 19: ...CO 100 P2002 Series User Manual 19 Dimension CO W121C P2002 Unit mm CO W121C P2002E Unit mm ...
Страница 22: ...CO 100 P2002 Series User Manual 22 Chapter 2 Switches Connectors ...
Страница 23: ...CO 100 P2002 Series User Manual 23 2 1 Location of Switches and Connectors 2 1 1 Top View ...
Страница 24: ...CO 100 P2002 Series User Manual 24 2 1 2 Bottom View ...
Страница 34: ...CO 100 P2002 Series User Manual 34 Chapter 3 System Setup ...
Страница 64: ...CO 100 P2002 Series User Manual 64 Chapter 4 BIOS Setup ...
Страница 84: ...CO 100 P2002 Series User Manual 84 Chapter 5 Product Application ...
Страница 87: ...CO 100 P2002 Series User Manual 87 ...
Страница 95: ...CO 100 P2002 Series User Manual 95 ...
Страница 96: ...CO 100 P2002 Series User Manual 96 Chapter 6 Optional Modules and Accessories Pin Definitions and Settings ...
Страница 101: ...CO 100 P2002 Series User Manual 101 2 Fasten the VESA mount screws to complete the VESA mounting ...