Appendix A – Watchdog Timer Programming
62
Pico
-IT
X Bo
ar
d
PIC
O
-A
PL1
*******************************************************************************
// Procedure : AaeonWDTEnable
VOID EnterSIOconfig
()
{
IOWriteByte (IoConfAddr,0x87);
IOWriteByte (IoConfAddr,0x87);
}
VOID ExitSIOconfig
()
{
IOWriteByte (IoConfAddr,0xAA);
}
VOID SetWDT
()
IOWriteByte (IoConfAddr,0x2B);
IOWriteByte(IoC1, (IOReadByte(IoC1)&0xFC));
}
// Procedure : AaeonWDTEnable
VOID
AaeonWDTEnable ()
{
WDTEnableDisable(1);
}
// Procedure : AaeonWDTConfig
VOID
AaeonWDTConfig (byte Counter, BOOLEAN Unit)
{
// Disable WDT counting
WDTEnableDisable(
0
);
// Clear Watchdog Timeout Status
WDTClearTimeoutStatus();
// WDT relative parameter setting
WDTParameterSetting(Timer, Unit);
}
VOID
WDTEnableDisable(byte Value)
{
If (Value == 1)
WDTSetBit(
TimerReg
,
EnableBit
, 1
);
else
WDTSetBit(
TimerReg
,
EnableBit
, 0
);
}
VOID
WDTParameterSetting(byte Counter, BOOLEAN Unit)
{
// Watchdog Timer counter setting
WDTWriteByte(
CounterReg
,
Counter
);
// WDT counting unit setting
Summary of Contents for PICO-APL1
Page 1: ...Last Updated June 21 2017 PICO APL1 PICO APL1 Single Board Computer User s Manual 1st Ed...
Page 14: ...Pico ITX Board PICO APL1 Chapter 1 Chapter 1 Product Specifications...
Page 17: ...Pico ITX Board PICO APL1 Chapter 2 Chapter 2 Hardware Information...
Page 20: ...Chapter 2 Hardware Information 7 Pico ITX Board PICO APL1 Rear I O Configuration...
Page 46: ...Chapter 2 Hardware Information 33 Pico ITX Board PICO APL1 2 4 21 Function Block...
Page 47: ...Pico ITX Board PICO APL1 Chapter 3 Chapter 3 AMI BIOS Setup...
Page 55: ...Chapter 3 AMI BIOS Setup 42 Pico ITX Board PICO APL1 3 4 3 Hardware Monitor...
Page 60: ...Chapter 3 AMI BIOS Setup 47 Pico ITX Board PICO APL1 3 4 7 Setup submenu Chipset...
Page 61: ...Chapter 3 AMI BIOS Setup 48 Pico ITX Board PICO APL1 3 4 8 North Bridge...
Page 68: ...Chapter 3 AMI BIOS Setup 55 Pico ITX Board PICO APL1 3 6 Setup submenu Exit...
Page 69: ...Pico ITX Board PICO APL1 Chapter 4 Chapter 4 Drivers Installation...
Page 72: ...Pico ITX Board PICO APL1 Appendix A Appendix A Watchdog Timer Programming...
Page 77: ...Pico ITX Board PICO APL1 Appendix B Appendix B I O Information...
Page 78: ...Appendix B I O Information 65 Pico ITX Board PICO APL1 B 1 I O Address Map...
Page 79: ...Appendix B I O Information 66 Pico ITX Board PICO APL1 B 2 Memory Address Map...
Page 80: ...Appendix B I O Information 67 Pico ITX Board PICO APL1 B 3 IRQ Mapping Chart...
Page 81: ...Pico ITX Board PICO APL1 Appendix C Appendix C Mating Connectors...
Page 85: ...Pico ITX Board PICO APL1 Appendix D Appendix D DIO...