
E m b e d d e d C o n t r o l l e r
A E C - 6 9 4 0
Appendix A Programming the Watchdog Timer
A-5
A.4 F75111 Watchdog Timer Initial Program
#include <stdio.h>
#include <conio.h>
void Chk_Ready();
#define SMBus_Port
0x500
#define I2C_Addr
0x6E
void main (void)
{
//device ID(smbus):6Eh,index:3h data:3h
//Set pin10 as WDTOUT2#
outportb(SMB0x04,I2C_Addr);
delay(10);
Chk_Ready();
outportb(SMB0x03,0x3);
delay(10);
outportb(SMB0x05,0x3);
delay(10);
outportb(SMB0x02,0x48);
delay(10);
Chk_Ready();
//device ID(smbus):6Eh,index:37h data:05h
//Set Watchdog Timer Rang
register to //be 5
Summary of Contents for AEC-6940
Page 17: ...Embedded Controller A E C 6 9 4 0 Chapter 1 General Information 1 8 Front Side Rear Side ...
Page 20: ...Embedded Controller A E C 6 9 4 0 Chapter 2 Hardware Installation 2 3 JP3 JP5 ...
Page 22: ...Embedded Controller A E C 6 9 4 0 Chapter 2 Hardware Installation 2 5 2 2 Dimension ...
Page 45: ...Embedded Controller A E C 6 9 4 0 Chapter 3 Award BIOS Setup 3 1 Chapter Award 3 BIOS Setup ...
Page 60: ...Embedded Controller A E C 6 9 4 0 Appendix B I O Information B 1 I O Information Appendix B ...
Page 61: ...Embedded Controller A E C 6 9 4 0 Appendix B I O Information B 2 B 1 I O Address Map ...