ConOpSys V2970
P004.07
ANVILEX control operating system
|
Interval timer clase. More...
#include <Interval_Timer.h>
Public Member Functions | |
TInterval_Timer () | |
Class constructor method. More... | |
VOID | Set_Interval (U32 u32_New_Interval) |
Set interval timer value. More... | |
VOID | Enable () |
Enable timer operation method. More... | |
VOID | Disable () |
Disable timer operation method. More... | |
BOOL | Execute () |
Execute timer core method. More... | |
Private Attributes | |
TRIL | tril_Enabled |
Timer enabled flag. More... | |
U32 | u32_Interval |
Interval value in counts. More... | |
U32 | u32_Counter |
Timer interval counter. More... | |
Interval timer clase.
TInterval_Timer::TInterval_Timer | ( | ) |
Class constructor method.
References tril_Enabled, u32_Counter, and u32_Interval.
VOID TInterval_Timer::Disable | ( | ) |
Disable timer operation method.
References tril_Enabled, and u32_Counter.
Referenced by TABCC_Base::Deactivate_Process_Data().
VOID TInterval_Timer::Enable | ( | ) |
Enable timer operation method.
References tril_Enabled, and u32_Counter.
Referenced by TABCC_Base::Activate_Process_Data().
BOOL TInterval_Timer::Execute | ( | ) |
Execute timer core method.
References tril_Enabled, u32_Counter, u32_Interval, and unset.
Referenced by TABCC_Base::Execute_System_Timer().
Set interval timer value.
[in] | u32_New_Interval | - Interval value in timer ticks |
References tril_Enabled, u32_Interval, and unset.
Referenced by TABCC_Base::TABCC_Base().
|
private |
Timer enabled flag.
Referenced by Disable(), Enable(), Execute(), Set_Interval(), and TInterval_Timer().
|
private |
Timer interval counter.
Referenced by Disable(), Enable(), Execute(), and TInterval_Timer().
|
private |
Interval value in counts.
Referenced by Execute(), Set_Interval(), and TInterval_Timer().