![Arbor Technology EmETXe-a10R0 Скачать руководство пользователя страница 54](http://html1.mh-extra.com/html/arbor-technology/emetxe-a10r0/emetxe-a10r0_user-manual_2962998054.webp)
- 46 -
Appendix
Appendix A: Watchdog Timer (WDT) Setting
WDT is widely used for industry application to monitor the activity of CPU. Ap-
plication software depends on its requirement to trigger WDT with adequate
timer setting. Before WDT time out, the functional normal system will reload
the WDT. The WDT never time out for a normal system. The WDT will not be
reloaded by an abnormal system, then WDT will time out and reset the system
automatically to avoid abnormal operation.
This board supports 255 levels watchdog timer by software programming I/O
ports. Below are the source codes written in C, please take them as WDT ap-
plication example.
/*---------------------------------------------------------------------------*/
#include <math.h>
#include <stdio.h>
#include <dos.h>
int iWDTCount;
int sioIndex = 0x2E;
// or 0x4E
int sioData = 0x2F;
// or 0x4F
int main(void)
{
unsigned char
iCount;
printf(“WDT Times ( 1 ~ 255 ) : “);
scanf(“%d”,&iCount);
printf(“\n”);
WDT_Start(iCount);
return 0;
}
void WDT_Start(int iCount)
{
int iData;
outportb(sioIndex, 0x87);
/* Enable Super I/O */
outportb(sioIndex, 0x87);
outportb(sioIndex, 0x07);
/* Select logic device – WDT */
outportb(sioData, 0x07);
outportb(sioIndex, 0x29);
/* Enable WDTRST# Pin */
iData = inportb(sioData);
iData = iData & 0xEF;
outportb(sioData, iData);
/* The pin function is WDTRST# */
outportb(sioIndex, 0x30);
/* Enable WDT */
outportb(sioData, 0x01);
Содержание EmETXe-a10R0
Страница 1: ...EmETXe a10R0 COM Express Compact Type 6 CPU Module User s Manual Version 1 0 2020 12...
Страница 2: ...Revision History Version Date Description 1 0 2020 12 Initial release...
Страница 9: ...1 Introduction 1 Chapter 1 Introduction...
Страница 14: ...6 This page is intentionally left blank...
Страница 15: ...7 Board Overview 2 Chapter 2 Board Overview...
Страница 17: ...9 Board Overview 2 2 Board Dimensions 2 9 2 95 95 4 76 4 87 4 87 54 48 32 39 2 7 6 0 Unit mm...
Страница 22: ...14 This page is intentionally left blank...
Страница 23: ...15 Installation Maintenance 3 Chapter 3 Installation Maintenance...
Страница 26: ...18 This page is intentionally left blank...
Страница 27: ...19 BIOS 4 Chapter 4 BIOS...
Страница 37: ...29 BIOS 4 2 6 NVMe Configuration Access this submenu to view the NVMe controller and driver information...
Страница 39: ...31 BIOS 4 2 8 Hardware Monitor Access this page to view the hardware information...
Страница 46: ...38 BIOS 4 3 1 SB USB Config Setting Description XHCI0 Port 0 5 Enable default disable default xHCI0 port 0 5...
Страница 48: ...40 BIOS 4 3 3 Display Configuration Item Description Active LVDS Enable or Disable default active LVDS control...
Страница 52: ...44 This page is intentionally left blank...
Страница 53: ...45 Appendix Appendix...
Страница 56: ...48 Appendix outportb sioIndex 0xAA SIO Disable return iData...