C.3.2
Software Reset Button Sample Code
Sample Code:
************************************************************************************
#define Word BTN_STS
#define Byte BTN_STS_R
************************************************************************************
GET_Value (Word IoAddr, Byte BitNum,Byte Value)
Byte
BYTE TmpValue;
TmpValue = inportb (IoAddr);
return (TmpValue & (1 << BitNum))
}
************************************************************************************
Main
VOID
(){
Byte RstBtn;
RstBtn = GET_Value (BTN_STS, BTN_STS_R); // Active Low
}
************************************************************************************
Appendix C – Standard Firewall Platform Setting
//This parameter is represented from Note1
//This parameter is represented from Note2
{
113