ConOpSys V2970  P004.07
ANVILEX control operating system
Public Member Functions | List of all members
TWDT_STM32F410CBU6 Class Reference

STM32F410CBU6 on-chip WDT module class. More...

#include <WDT_STM32F410CBU6.h>

Inheritance diagram for TWDT_STM32F410CBU6:
Inheritance graph
Collaboration diagram for TWDT_STM32F410CBU6:
Collaboration graph

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...
 
- 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...
 

Detailed Description

STM32F410CBU6 on-chip WDT module class.

Member Function Documentation

◆ Reset()

VOID TWDT_STM32F410CBU6::Reset ( )
virtual

Reset watchdog timer counter method.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TWatchdog_Timer_Base.

◆ Set_Period()

BOOL TWDT_STM32F410CBU6::Set_Period ( F32  f32_New_Period)

Set period of watchdog timer method.


Note
None
Parameters
[in]f32_New_Period- WDT period in seconds.
Returns
None
Override
Not allowed
Attention
None
Todo:
ANVILEX ToDo : Implement prescaler adjustment
Todo:
ANVILEX ToDo : Implement prescaler settings

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.

◆ Start()

VOID TWDT_STM32F410CBU6::Start ( )
virtual

Start watchdog timer operation method.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TWatchdog_Timer_Base.

◆ Stop()

VOID TWDT_STM32F410CBU6::Stop ( )
virtual

Stop watchdog timer operation method.


Note
None
Returns
None
Override
Not allowed
Attention
None

Implements TWatchdog_Timer_Base.


The documentation for this class was generated from the following files: