ConOpSys V2970
P004.07
ANVILEX control operating system
|
System watchdog timer class. More...
#include <STM32F411_WDT.h>
Public Member Functions | |
TWatchdog_Timer_STM32F411 () | |
Constructor methods. More... | |
~TWatchdog_Timer_STM32F411 () | |
Destructor methods. More... | |
BOOL | Set_Period (F32 f32_Period) |
Set watchdog timer period. More... | |
virtual VOID | Start () |
Start watchdog timer counter. More... | |
virtual VOID | Stop () |
Stop watchdog timer counter. More... | |
virtual VOID | Reset () |
Reset watchdog timer counter. More... | |
Public Member Functions inherited from TWatchdog_Timer_Base | |
TWatchdog_Timer_Base () | |
Class constructor method. More... | |
virtual | ~TWatchdog_Timer_Base () |
Class destructor method. More... | |
VOID | Init () |
Initialisation method description. More... | |
VOID | Done () |
Finalisation method description. More... | |
virtual BOOL | Configure_Clock (U32 u32_Clock_Frequency) |
Watchdog input clock frequency configuration method. More... | |
F32 | Get_Resolution () |
Get watchdog timer counter resolution method. More... | |
BOOL | Set_Period (F32 f32_Period) |
Set watchdog timer period method. More... | |
F32 | Get_Period () |
Get watchdog timer period method. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TWatchdog_Timer_Base | |
F32 | f32_Input_Clock_Frequency |
Watchdog timer input frequency in Hz. More... | |
F32 | f32_Resolution |
Watchdog timer resolution in seconds. More... | |
U32 | u32_Timer_Counts |
Counts for watchdog timer register initialisation. More... | |
F32 | f32_Frequency |
Frequency in Hz. More... | |
F32 | f32_Period |
Period in seconds. More... | |
BOOL | bool_Timer_Configured |
Timer configured flag. More... | |
System watchdog timer class.
TWatchdog_Timer_STM32F411::TWatchdog_Timer_STM32F411 | ( | ) |
Constructor methods.
TWatchdog_Timer_STM32F411::~TWatchdog_Timer_STM32F411 | ( | ) |
Destructor methods.
|
virtual |
Reset watchdog timer counter.
Implements TWatchdog_Timer_Base.
Set watchdog timer period.
References TWatchdog_Timer_Base::f32_Frequency, TWatchdog_Timer_Base::f32_Period, and TWatchdog_Timer_Base::u32_Timer_Counts.
|
virtual |
Start watchdog timer counter.
Implements TWatchdog_Timer_Base.
|
virtual |
Stop watchdog timer counter.
Implements TWatchdog_Timer_Base.