|
ConOpSys V2970
P004.07
ANVILEX control operating system
|
STM32F429 on-chip WDT module class. More...
#include <WDT_STM32F429.h>


Public Member Functions | |
| BOOL | Set_Period (F32 f32_New_Period) |
| Set period of watchdog timer method. More... | |
| virtual VOID | Start () |
| Start watchdog timer operation method. More... | |
| virtual VOID | Stop () |
| Stop watchdog timer operation method. More... | |
| virtual VOID | Reset () |
| Reset watchdog timer counter method. More... | |
| U64 | Get_Max_WDT_Reset_Time () |
| Return maximum time for WDT reset method. 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... | |
Private Attributes | |
| U64 | u64_Previous_Time_Stamp = (U64)0 |
| @bref previous time stamp for reset time More... | |
| U64 | u64_Max_WDT_Reset_Time = (U64)0 |
| @bref Maximum time for WDT reset 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... | |
STM32F429 on-chip WDT module class.
| U64 TWDT_STM32F429::Get_Max_WDT_Reset_Time | ( | ) |
Return maximum time for WDT reset method.
References u64_Max_WDT_Reset_Time.
|
virtual |
Reset watchdog timer counter method.
Implements TWatchdog_Timer_Base.
References TTIMER2_STM32F429::Get_Actual_Time_U64(), object_Delay_Timer, u64_Max_WDT_Reset_Time, and u64_Previous_Time_Stamp.
Referenced by TApplication_Base::Run(), TBootloader_Base::Run(), and TProtocol_Base::Transmit_Char().


Set period of watchdog timer method.
| [in] | f32_New_Period | - WDT period in seconds. |
References TWatchdog_Timer_Base::f32_Frequency, TWatchdog_Timer_Base::f32_Input_Clock_Frequency, TWatchdog_Timer_Base::f32_Period, and TWatchdog_Timer_Base::u32_Timer_Counts.
Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().

|
virtual |
Start watchdog timer operation method.
Implements TWatchdog_Timer_Base.
Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().

|
virtual |
Stop watchdog timer operation method.
Implements TWatchdog_Timer_Base.
Referenced by TApplication_Base::Run(), and TBootloader_Base::Run().

@bref Maximum time for WDT reset
Referenced by Get_Max_WDT_Reset_Time(), and Reset().
@bref previous time stamp for reset time
Referenced by Reset().