mFrame
載入中...
搜尋中...
無符合項目
AdvancedTimer.h
1
7#ifndef MFRAME_F0E9012A_AAF5_4DA4_B324_BB302584861C
8#define MFRAME_F0E9012A_AAF5_4DA4_B324_BB302584861C
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../counter/Timer.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace hal::counter {
23 struct AdvancedTimer;
24} // namespace hal::counter
25
26/* ***************************************************************************************
27 * Class/Interface/Struct/Enum
28 */
29
39 /* *************************************************************************************
40 * Method
41 */
42
48 virtual uint32 getCount(void) const abstract;
49
59 virtual bool setCount(uint32 count) abstract;
60
66 virtual uint32 getCompareCount(void) const abstract;
67
77 virtual bool setCompareCount(uint32 count) abstract;
78};
79
80/* ***************************************************************************************
81 * End of file
82 */
83
84#endif /* MFRAME_F0E9012A_AAF5_4DA4_B324_BB302584861C */
Definition AdvancedTimer.h:22
[Interface] 高級計時器介面。
Definition AdvancedTimer.h:38
virtual uint32 getCount(void) const override
取得計時器的當前計數。
virtual bool setCount(uint32 count) override
設定計時器的當前計數。
virtual bool setCompareCount(uint32 count) override
設定計時器的當前計數。
virtual uint32 getCompareCount(void) const override
取得計時器的比較計數。
[Interface] 硬體抽象層,計時器。
Definition hal/counter/Timer.h:38