What is the primary purpose of a watchdog timer in an embedded system?
-
A
To measure elapsed execution time
-
B
To reset the system if software becomes unresponsive
-
C
To synchronize two microcontrollers over a bus
-
D
To generate PWM signals for motor control