![Premio RC0-6111E Скачать руководство пользователя страница 133](http://html1.mh-extra.com/html/premio/rc0-6111e/rc0-6111e_user-manual_1596686133.webp)
RCO-
6100 Series l User’s Manual
133
WDT Sample Code
WDT Setting
Psuedo Code
#define AddrPort
0x2e
#define DataPort
0x2f
#define SIO_UnLock_Value
0x87
#define SIO_Lock_Value
0xaa
#define WATCHDOG_LDN
0x07
#define GPIO_Port
0xF1
//Enter_Config
WriteByte (AddrPort, SIO_UnLock_Value);
WriteByte (AddrPort, SIO_UnLock_Value);
//Enter WATCHDOG LDN
WriteByte (AddrPort, 0x07);
WriteByte (DataPort, WATCHDOG_LDN);
//Set count mode
WriteByte (AddrPort, 0xf0);
buf2 = ReadByte (DataPort) & 0xf4; //clear "Select Watchdog Timer I count mode
buf2 |= 0x02; //Enable the Watchdog Timer I output low pulse to the KBRST# pin
// buf2 |= 0x08; //Bit3 = (1:Minute Mode/0:Second Mode)
WriteByte (DataPort, buf2); //Write back
//Set watch dog time value
WriteByte (AddrPort, 0xf1)
WriteByte (DataPort, Time) //Set watch dog time value
// close config mode
WriteByte (AddrPort, 0xaa);
Appendix
–
WDT & GPIO
Содержание RC0-6111E
Страница 1: ...USER S MANUAL RCO 6100 Series Superior Fanless Embedded System...
Страница 10: ...Chapter 1 Product Introductions...
Страница 25: ...Chapter 2 Switches and Connectors...
Страница 27: ...RCO 6100 Series l User s Manual 27 2 1 2 Bottom View Chapter 2 Switches and Connectors...
Страница 64: ...Chapter 3 System Setup...
Страница 70: ...RCO 6100 Series l User s Manual 70 2 Remove the CPU protective cover 3 Insert CPU gently Chapter 3 System Setup...
Страница 93: ...Chapter 4 BIOS Setup...
Страница 96: ...RCO 6100 Series l User s Manual 4 3 Advanced Setup 96 Chapter 4 BIOS Setup...
Страница 123: ...RCO 6100 Series l User s Manual PCI Express Configuration 123 Chapter 4 BIOS Setup...
Страница 132: ...Appendix WDT GPIO This appendix provides the sample codes of WDT Watch Dog Timer and GPIO General Purpose Input Output...
Страница 135: ......