mFrame
載入中...
搜尋中...
無符合項目
Base.h
1
7#ifndef MFRAME_E4F2FCA0_4A18_4087_BF15_1FF753A074ED
8#define MFRAME_E4F2FCA0_4A18_4087_BF15_1FF753A074ED
9
10/* ***************************************************************************************
11 * Include
12 */
13
14//----------------------------------------------------------------------------------------
15#include "./../ufm/lang/Interface.h"
16
17//----------------------------------------------------------------------------------------
18
19/* ***************************************************************************************
20 * Namespace
21 */
22namespace hal {
23 struct Base;
24} // namespace hal
25
26/* ***************************************************************************************
27 * Class/Interface/Struct
28 */
29
38struct hal::Base{
39 /* *************************************************************************************
40 * Method
41 */
42
55 virtual bool deinit(void) abstract;
56
69 virtual bool init(void) abstract;
70
79 virtual bool isInit(void) abstract;
80};
81
82/* ***************************************************************************************
83 * End of file
84 */
85
86#endif /* MFRAME_E4F2FCA0_4A18_4087_BF15_1FF753A074ED */
Definition AnalogInputPin.h:22
[Interface] 硬體抽象層基礎介面
Definition Base.h:38
virtual bool isInit(void) override
檢查硬體初始化狀態
virtual bool deinit(void) override
硬體去初始化
virtual bool init(void) override
硬體初始化