IRPyro messaging application
Communications program between IRPyro and IRPyro evaluation tool
|
This file contains all the functions involving the watchdog Timer. More...
#include "stm32f30x_iwdg.h"
Go to the source code of this file.
Data Structures | |
struct | Watchdog_Config_Type |
Macros | |
#define | WATCHDOG_ENABLE_DEFAULT 0 |
#define | WATCHDOG_LONG_TIMEOUT_DEFAULT 0xC35 |
#define | WATCHDOG_SHORT_TIMEOUT_DEFAULT 0x1D5 |
#define | WATCHDOG_TIMEOUT_SETTING_DEFAULT Short_Timeout |
Enumerations | |
enum | Timeout_Length_Type { Short_Timeout, Long_Timeout } |
Functions | |
void | Reload_Counter (void) |
Reloads the counter for the watchdog to avoid resetting when the hardware has not hung up. More... | |
void | Timeout_Set (Timeout_Length_Type Timeout_Length_Types) |
Used to increase the timeout period. This is used when the device is going to be doing a very time consuming task that would temporarily freeze the main loop. More... | |
void | Watchdog_Init (Watchdog_Config_Type *External_Config) |
Initializes the Watchdog Timer used incase the MCU hangs up. More... | |
This file contains all the functions involving the watchdog Timer.
Definition in file Watchdog_Driver.h.
#define WATCHDOG_ENABLE_DEFAULT 0 |
Definition at line 21 of file Watchdog_Driver.h.
#define WATCHDOG_LONG_TIMEOUT_DEFAULT 0xC35 |
Definition at line 18 of file Watchdog_Driver.h.
#define WATCHDOG_SHORT_TIMEOUT_DEFAULT 0x1D5 |
Definition at line 19 of file Watchdog_Driver.h.
#define WATCHDOG_TIMEOUT_SETTING_DEFAULT Short_Timeout |
Definition at line 20 of file Watchdog_Driver.h.
enum Timeout_Length_Type |
Enumerator | |
---|---|
Short_Timeout | |
Long_Timeout |
Definition at line 21 of file Watchdog_Driver.h.