System Installation
NANO-5050 User’s Manual
3-4
set_CFG (0x30, 0x01);
set_CFG (0xF5, 0x00);
set_CFG (0xF7, 0x00);
printf ("Trigger WDT with 5 sec...will reboot in 5 sec.\n");
printf ("Press Enter to disable WDT...\n");
set_CFG (0xF6, 0x05);
getchar ();
set_CFG (0xF6, 0x00);
printf ("All test complete. Press Enter to EXIT.");
getchar();
return 0;
}