Wednesday, September 20th 2017, 8:03pm UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-1 of 1.

Wednesday, July 19th 2017, 3:16pm

Author: Lupe

OS_WD_Config(): How to configure pfTriggerFunc?

Hello, I don't understand how to configure the new watchdog feature in embOS 4.34. From the docu: Source code 1 void OS_WD_Config (voidRoutine* pfTriggerFunc,voidRoutine* pfResetFunc); pfTriggerFunc Function pointer to hardware watchdog trigger callback function. In the example, it's declared like this: Source code 1 2 3 static void _TriggerWatchDog(void) { WD_REG = TRIGGER_WD; // Trigger the hardware watchdog } Why/How should I trigger that "hardware watchdog"? If I have to trigger some watchdo...