(2) Read Register & Example Code
if
(pFunc != IntPtr.Zero)
{
UInt32
SetPortValType
SetPortVal = (SetPortValType)Marshal.GetDelegateForFunctionPointer(pFunc,
typeof(SetPortValType));
GetPortValType
GetPortVal = (GetPortValType)Marshal.GetDelegateForFunctionPointer(pFunc,
typeof(GetPortValType));
SetPortVal(0x4E, 0x87, 1);
SetPortVal(0x4E, 0x87, 1);
SetPortVal(0x4E, 0x07, 1);
SetPortVal(0x4F, 0x06, 1);
SetPortVal(0x4E, 0xA2, 1);
// Call WinIo to get value
bool
5.2.3 WDT Setting
I/O port: 260 (base address) + 05h and 06h
1 Watchdog Timer Control Register
The Watchdog Timer Control Register controls the WDT working mode. Write the value
to the WDT Configuration Port. The following table describes the Control Register bit
definition:
7
6
0
0
User's Manual
PortVal;
Result1 = GetPortVal(0x4F, &PortVal, 1);
5
4
1
1
Timer
Unit
0 = 1 sec
1 = 60 sec *
// Enter Super IO
// Enter Super IO
// Select Logic 7 for GPIO
// GPIO Status Register
// Read GPIO Status
3
2
0
Select output pulse
width of RSTOUT#
5.0 System Resource
1
0
00 = 1 ms
01 = 25 ms
10 = 125 ms*
11 = 5 sec
Page 5-5
Need help?
Do you have a question about the VBOX-3200 and is the answer not in the manual?