Asus AAEON COM-WHUC6 User Manual page 87

Com express module
Table of Contents

Advertisement

************************************************************************************
ECBRAMWriteByte(byte OPReg, byte OPBit, byte Value)
VOID
IOWriteByte(EcBRAMIndex, 0x10);
IOWriteByte(EcBRAMData, BRAMLDNReg);
IOWriteByte(EcBRAMIndex, 0x11);
IOWriteByte(EcBRAMData, BRAMFnDataReg);
IOWriteByte(EcBRAMIndex, 0x13 + OPReg);
IOWriteByte(EcBRAMData, Value);
IOWriteByte(EcBRAMIndex, 0x12);
IOWriteByte(EcBRAMData, 0x30);
}
ECBRAMReadByte(byte OPReg)
Byte
IOWriteByte(EcBRAMIndex, 0x10);
IOWriteByte(EcBRAMData, BRAMLDNReg);
IOWriteByte(EcBRAMIndex, 0x11);
IOWriteByte(EcBRAMData, BRAMFnDataReg);
IOWriteByte(EcBRAMIndex, 0x12);
IOWriteByte(EcBRAMData, 0x10);
IOWriteByte(EcBRAMIndex, 0x13 + OPReg);
Return
IOReadByte(EcBRAMData, Value);
}
************************************************************************************
Appendix A – Watchdog Timer Programming
//Write start
{
//Read start
{
74

Advertisement

Table of Contents
loading

Table of Contents