Intel EMB-H61A Manual page 91

Industrial motherboard
Table of Contents

Advertisement

I n d u s t r i al M o t he r b o ar d
************************************************************************************
SIOBitRead(byte LDN, byte Register, byte BitNum)
Boolean
Byte TmpValue;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, Register);
TmpValue = IOReadByte(SIOData);
TmpValue &= (1 << BitNum);
SIOExitMBPnPMode();
If(TmpValue == 0)
Return 0;
Return 1;
}
ConfigToOutputMode(byte LDN, byte Register, byte BitNum)
VOID
Byte TmpValue, OutputEnableReg;
OutputEnableReg = Register-1;
SIOEnterMBPnPMode();
SIOSelectLDN(LDN);
IOWriteByte(SIOIndex, OutputEnableReg);
TmpValue = IOReadByte(SIOData);
TmpValue |= (1 << BitNum);
IOWriteByte(SIOData, OutputEnableReg);
SIOExitMBPnPMode();
}
************************************************************************************
E M B - H6 1 A
Appendix D Electrical Specifications for I/O Ports
{
{
D-9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EMB-H61A and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents