mFrame
載入中...
搜尋中...
無符合項目
GeneralInput.h
1
7
#ifndef MFRAME_9C655B34_D715_4F1E_957C_F1BFB3213FB8
8
#define MFRAME_9C655B34_D715_4F1E_957C_F1BFB3213FB8
9
10
/* ***************************************************************************************
11
* Include
12
*/
13
14
//----------------------------------------------------------------------------------------
15
#include "./../../ufm/lang/Interface.h"
16
17
//----------------------------------------------------------------------------------------
18
19
/* ***************************************************************************************
20
* Namespace
21
*/
22
namespace
hal::digital
{
23
struct
GeneralInput;
24
}
// namespace hal::digital
25
26
/* ***************************************************************************************
27
* Class/Interface/Struct/Enum
28
*/
29
39
struct
hal::digital::GeneralInput
{
40
/* *************************************************************************************
41
* Method
42
*/
43
50
virtual
bool
getValue
(
void
) abstract;
51
};
52
53
/* ***************************************************************************************
54
* End of file
55
*/
56
57
#endif
/* MFRAME_9C655B34_D715_4F1E_957C_F1BFB3213FB8 */
hal::digital
Definition
EdgeTrigger.h:22
hal::digital::GeneralInput
[Interface] GPIO輸入控制介面。
Definition
GeneralInput.h:39
hal::digital::GeneralInput::getValue
virtual bool getValue(void) override
讀取引腳輸入電平。
src
mframe
src
hal
digital
GeneralInput.h
產生者:
1.11.0