![background image](http://html1.mh-extra.com/html/atlantis/nanocom-ln/nanocom-ln_quick-installation-manual_3000489035.webp)
C O M E x p r e s s M o d u l e
N a n o C O M - L N
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 NanoCOM-LN
Page 24: ...COM Express Module N a n o C O M L N Chapter 3 AMI BIOS Setup 3 1 AMI Chapter 3 BIOS Setup...
Page 38: ...COM Express Module N a n o C O M L N Appendix B I O Information B 1 I O Information Appendix B...
Page 39: ...COM Express Module N a n o C O M L N Appendix B I O Information B 2 B 1 I O Address Map...
Page 40: ...COM Express Module N a n o C O M L N Appendix B I O Information B 3...
Page 41: ...COM Express Module N a n o C O M L N Appendix B I O Information B 4 B 2 Memory Address Map...