ConOpSys V2970
P004.07
ANVILEX control operating system
|
STM32F429 interval timer class. More...
#include <SYSTICK_STM32F429.h>
Public Member Functions | |
VOID | Set_Interrupt_Frequency (F32 f32_Frequency) |
Set system timer interrupt frequency method. More... | |
virtual VOID | Interrupt_Enable (U32 u32_Interrupt_Priority) |
Enable interrupt method. More... | |
virtual VOID | Interrupt_Disable () |
Disable interrupt method. More... | |
virtual VOID | Start () |
Start timer operation method. More... | |
virtual VOID | Stop () |
Stop timer operation method. More... | |
Public Member Functions inherited from TSystem_Timer_Base | |
U32 | Get_Tick () |
System timer class constructor method. More... | |
virtual U32 | Get_Actual_Time () |
Get actual system time in timer ticks. More... | |
VOID | Interrupt () |
System timer interrupt method. More... | |
VOID | Delay_ms (U32 u32_Delay_Value) |
Perform blocked delay given in ms. More... | |
F32 | Get_Delta_Time (U32 u32_Start_Timestamp, U32 u32_End_Timestamp) |
Get delta time in seconds. More... | |
BOOL | Is_Timeout_ms (U32 u32_Start_Timestamp, U32 u32_Timeout) |
Return statis of the timeout. More... | |
U32 | Get_Timespan_ms (U32 u32_Start_Timestamp) |
Return timespan in milliseconds. More... | |
Public Member Functions inherited from TTimer_Base | |
TTimer_Base () | |
User timer class constructor method. More... | |
virtual | ~TTimer_Base () |
User timer class destructor method. More... | |
VOID | Interrupt () |
User timer interrupt method. More... | |
virtual BOOL | Configure_Clock (U32 u32_Clock) |
Set user timer input clock frequency method. More... | |
BOOL | Set_Interrupt_Frequency (F32 f32_Frequency) |
Set user timer interrupt frequency method. More... | |
F32 | Get_Resolution_s () |
Get timer resolution in seconds. More... | |
F32 | Get_Resolution_ms () |
Get timer resolution in miliseconds. More... | |
F32 | Get_Resolution_us () |
Get timer resolution in microseconds. More... | |
F32 | Get_Resolution_ns () |
Get timer resolution in nanoseconds. More... | |
F32 | Get_Interrupt_Frequency () |
Get Get interrupt frequency in herz. More... | |
F32 | Get_Interrupt_Period () |
Get interrupt period in seconds. More... | |
U32 | Time_To_Execution_Loops (F32 f32_Time_Span) |
Convert time to interrupt loops method. More... | |
VOID | Init () |
User timer initialisation method. More... | |
VOID | Done () |
User timer finalisation method. More... | |
Additional Inherited Members | |
Protected Attributes inherited from TSystem_Timer_Base | |
volatile U32 | u32_Tick_Counter = (U32)0 |
Timer tick counter. More... | |
Protected Attributes inherited from TTimer_Base | |
BOOL | bool_Initialisation_Error = (BOOL)false |
Initialisation error. More... | |
F32 | f32_Input_Clock = (F32)0.0f |
Timer input frequency in Hz. More... | |
U32 | u32_Timer_Clock = (U32)0 |
Timer clock in herz. More... | |
U32 | u32_Timer_Counts = (U32)0 |
Timer counter preset value. More... | |
F32 | f32_Resolution_s = (F32)0.0f |
Timer resolution in seconds. More... | |
F32 | f32_Resolution_ms = (F32)0.0f |
Timer resolution in miliseconds. More... | |
F32 | f32_Resolution_us = (F32)0.0f |
Timer resolution in microseconds. More... | |
F32 | f32_Resolution_ns = (F32)0.0f |
Timer resolution in nanoseconds. More... | |
F32 | f32_Interrupt_Frequency = (F32)0.0f |
Interrupt frequency in herz. More... | |
F32 | f32_Interrupt_Period = (F32)0.0f |
Interrupt period in seconds. More... | |
STM32F429 interval timer class.
This interval timer is used internally for triggering of the system task.
|
virtual |
Disable interrupt method.
Implements TTimer_Base.
Referenced by TApplication_Base::Run(), and TBootloader_Base::Run().
Enable interrupt method.
[in] | u32_Interrupt_Priority | - Timer inperrupt priority |
Implements TTimer_Base.
Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().
Set system timer interrupt frequency method.
[in] | f32_Frequency | - Timer inperrupt frequency in herz |
false | - Execution without errors |
true | - Execution without any errors |
ANVILEX KM: Code cleanup
ANVILEX KM: Code cleanup
References TTimer_Base::bool_Initialisation_Error, TTimer_Base::f32_Interrupt_Frequency, TTimer_Base::Set_Interrupt_Frequency(), and TTimer_Base::u32_Timer_Clock.
Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().
|
virtual |
Start timer operation method.
Implements TTimer_Base.
Referenced by TApplication_Base::Init(), and TBootloader_Base::Init().
|
virtual |
Stop timer operation method.
Implements TTimer_Base.