Spectra GmbH & Co. KG
User Manual
[email protected] Spectra PowerBox 410 80
5.1.1.4.2 Control of GP80 to GP87 (DO1 ~ DO8)
#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 GP80 to GP87 output Mode
WriteByte(AddrPort, 0x88)
// Select configuration register 88h
WriteByte(DataPort, 0xXF))
// 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)
5.1.1.5 Change base address
<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
WriteByte(AddrPort, 0x60)
// Select configuration register 60h (High Byte address)
WriteByte(DataPort, (0x0A))
WriteByte(AddrPort, 0x61)
// Select configuration register 61h (Low Byte address)
WriteByte(DataPort, (0x00))
<Leave the Extended Function Mode>
WriteByte(AddrPort, 0xAA)
default GPIO Port base address is 0xA00h
Summary of Contents for 158406
Page 1: ...Spectra PowerBox 410 Serie USER MANUAL Version 1 47 November 2021...
Page 19: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 410 19 2 1 2 Bottom View...
Page 28: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 410 28 Chapter 3 System Setup...
Page 56: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 410 56 Chapter 4 BIOS Setup...
Page 78: ...Spectra GmbH Co KG User Manual sales spectra de Spectra PowerBox 410 78...