Spectra GmbH & Co. KG
User Manual
[email protected] Spectra PowerBox 3000A
107
5.1.1.4 Sample Code in C Language
5.1.1.4.1 Control of GP74 to GP77 (DI1 ~ DI4)
#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/Input Mode Selection>
// Set GP74 to GP77 input Mode
WriteByte(AddrPort, 0x80)
// Select configuration register 80h
WriteByte(DataPort, 0x0X)
// Set (bit 4~7) = 0 to select GP 74~77 as Input mode.
Содержание PowerBox 3000A Series
Страница 1: ...USER MANUAL Version 2 40 October 2021 Spectra PowerBox 3000A Series...
Страница 11: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 3000A 11 Chapter 1 Product Introductions...
Страница 20: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 3000A 20 Spectra PowerBox 32A Unit mm...
Страница 21: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 3000A 21 Chapter 2 Switches Connectors...
Страница 23: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 3000A 23 2 1 2 Bottom View...
Страница 36: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 3000A 36 Chapter 3 System Setup...
Страница 81: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 3000A 81 Chapter 4 BIOS Setup...