
BIS-6330A
Digital Signage Player
45
Appendix
Appendix 1: Watchdog Programming Guide
watchdog reference code
(
C
)
-----------------------------------------------------------------------------------------------------------------------------
Set the port to realize watchdog function through DEBUG order, so that it can carry out
Watchdog Timer’s various functions.
Port Instruction:
void main()
{int indexp = 0x2e,datap = 0x2f;
unsigned char temp;
Outportb(indexp,0x87);
Outportb(indexp,0x87); //unlock
Outportb(indexp,0x2d);
temp = (unsigned char) inportb (datap);
temp &= 0xfe;
Outportb(indexp,0x2d);
Outportb(datap,temp); //set pin for watchdog
Outportb(indexp,0x07);
Outportb(datap,0x08);
Outportb(indexp,0x30);
Outportb(datap,0x01); //enable logical device
Outportb(indexp,0xf5);
Outportb(datap,0x00); //set second
Outportb(indexp,0xf6);
Outportb(datap,0x05); //set 5seconds
Outportb(indexp,0xf7);
Outportb(datap,0x00);
Outportb(indexp,0xaa); //lock}
If system halted, the watchdog enables the system to reboot automatically.
Summary of Contents for BIS-6330A
Page 1: ...BIS 6330A Digital Signage Player USER Manual V1 0...
Page 10: ...Chapter 1 Product Introduction...
Page 14: ...Chapter 2 Product Features...
Page 23: ...Chapter 3 Installation Instructions...
Page 28: ...Chapter 4 BIOS SETUP...
Page 35: ...BIS 6330A Digital Signage Player 22 3 2 3 CPU Configuration...
Page 46: ...BIS 6330A Digital Signage Player 33 Console Redirection...
Page 58: ...Appendix...
Page 64: ......