4.10.2 WWDT
Windowed Watchdog Timer
4.10.2.1 Introduction
A Watchdog Timer (WDT) is a system timer that generates a Reset if the firmware does not
issue a CLRWDT
instruction within the time-out period. A Watchdog Timer
is typically used to recover the system from unexpected events. The Windowed Watchdog
Timer (WWDT) differs from non-windowed operation in that CLRWDT
instructions are only accepted when they are performed within a specific window during
the time-out period.
4.10.2.2 Supported Device Families
PIC12/16F161x | PIC12/16F184x | PIC16F153xx |
PIC16F171xx | PIC16F181xx | PIC16F184xx |
PIC16F188xx | PIC16F191xx | PIC18F-K40 |
PIC18F-K42 | PIC18F-K83 | PIC18F-Q10 |
PIC18F-Q20 | PIC18F-Q24 | PIC18F-Q40 |
PIC18F-Q41 | PIC18F-Q43 | PIC18F-Q71 |
PIC18F-Q83 | PIC18F-Q84 |
4.10.2.3 Required header files
#include "mcc_generated_files/system/watchdog.h"
4.10.2.4 Module Documentation
4.10.2.4.1 WWDT
This file contains the API prototypes for the WWDT driver.
Module description
This file contains the API prototypes for the WWDT driver.
Functions
void WWDT_Initialize (void)
Initializes the Windowed Watchdog Timer (WWDT) driver.
Function Documentation
WWDT_Initialize()
void WWDT_Initialize (void )
Initializes the Windowed Watchdog Timer (WWDT) driver.
None. |
None. |
4.10.2.5 File Documentation
4.10.2.5.1 source/watchdog.c File Reference
#include "../watchdog.h"
Functions
void WWDT_Initialize (void)
Initializes the Windowed Watchdog Timer (WWDT) driver.
4.10.2.5.2 source/watchdog.h File Reference
#include <xc.h> #include <stdbool.h> #include <stdint.h>
Functions
void WWDT_Initialize (void)
Initializes the Windowed Watchdog Timer (WWDT) driver.