Operations Manual
Watch dog timer card
3. Disable the watch dog
if (close(whdg_h)==-1)
{
printf("It is failed to stop Watch Dog \n");
return FALSE;
}
4. Refresh watch dog for application program itself
char c;
read(whdg_h,&c,1);
5. Turn ON/OFF power control box
#define MCPOWERON (('M'<<8 |0xf8)
#define MCPOWEROFF (('M'<<8 |0xf9)
ioctl(whdg_h, MCPOWERON, NULL); /*power ON */
ioctl(whdg_h, MCPOWEROFF,NULL); /*power OFF */
31
DECISION Computer International
Need help?
Do you have a question about the Watch dog 1 and is the answer not in the manual?