
VORTEX86-6047LV-6S
Embedded
Vortex
86
CPU AIO Board
27
printf("Press any key to stop clearing watchdog timer status...\n");
while(!kbhit())
{
/* clear "Timer Expiration Event 0/1" bit */
outp(0x841, 0xc0);
}
getch();
printf("System will be reset after %d seconds.\n", nTime * 4);
clk = clock();
while(!kbhit())
printf("%2.2f\r", (clock() - clk) / CLK_TCK);
}
Assembler Example code
mov dx,84ah ; set timeout = 20 second
mov al,5
out dx,al
mov dx,84bh ; set timer clock to 1 second and "Timer Expiration Event 0/1" to reset
system.
mov al,9ch
out dx,al
; clearing watchdog timer status
mov dx,841h
mov al,0c0h
out dx,al
Содержание VORTEX86-6047LV-6S
Страница 4: ......
Страница 8: ...4 VORTEX86 6047LV 6S Embedded Vortex86 CPU AIO Board 0 3 Board Dimension Unit mm...
Страница 11: ...VORTEX86 6047LV 6S Embedded Vortex86 CPU AIO Board 7 C h a p t e r 2 Installation 2 1 Board Outline...
Страница 12: ...8 VORTEX86 6047LV 6S Embedded Vortex86 CPU AIO Board 2 2 Connectors Jumpers Location Solder Side...
Страница 13: ...VORTEX86 6047LV 6S Embedded Vortex86 CPU AIO Board 9 Bottom side...