mFrame
載入中...
搜尋中...
無符合項目
InvertGeneralInput.h
1
7#ifndef MFRAME_82FAE1D5_A3F6_4DB3_BCB7_FA33B36D5F99
8#define MFRAME_82FAE1D5_A3F6_4DB3_BCB7_FA33B36D5F99
9
10/* ***************************************************************************************
11 * Include
12 */
13#include "mframe.h"
14
15//----------------------------------------------------------------------------------------
16#include "./../../hal/digital/GeneralInput.h"
17
18//----------------------------------------------------------------------------------------
19
20/* ***************************************************************************************
21 * Namespace
22 */
23namespace ufm::hw {
24 class InvertGeneralInput;
25} // namespace ufm::hw
26
27/* ***************************************************************************************
28 * Class/Interface/Struct/Enum
29 */
30
41 /* *************************************************************************************
42 * Variable
43 */
44 private:
52
53 /* *************************************************************************************
54 * Abstract Method
55 */
56
57 /* *************************************************************************************
58 * Construct Method
59 */
60 public:
72
79 virtual ~InvertGeneralInput(void) override;
80
81 /* *************************************************************************************
82 * Operator Method
83 */
84
85 /* *************************************************************************************
86 * Override - hal::digital::GeneralInput
87 */
88 public:
103 virtual bool getValue(void) override;
104
105 /* *************************************************************************************
106 * Public Method
107 */
108
109 /* *************************************************************************************
110 * Protected Method
111 */
112
113 /* *************************************************************************************
114 * Private Method
115 */
116
117 /* *************************************************************************************
118 * Static Variable
119 */
120
121 /* *************************************************************************************
122 * Static Method
123 */
124};
125
126/* ***************************************************************************************
127 * End of file
128 */
129
130#endif /* MFRAME_82FAE1D5_A3F6_4DB3_BCB7_FA33B36D5F99 */
反轉數位輸入包裝器類別
Definition InvertGeneralInput.h:40
virtual bool getValue(void) override
讀取反轉後的引腳輸入電平
virtual ~InvertGeneralInput(void) override
解構物件
InvertGeneralInput(hal::digital::GeneralInput &generalInput)
建構一個新的反轉數位輸入物件
物件基底類別
Definition Object.h:63
Definition Ammeter.h:22
[Interface] GPIO輸入控制介面。
Definition GeneralInput.h:39