mFrame
載入中...
搜尋中...
無符合項目
AnalogInputPin.h
1
7
#ifndef HAL_B16985A9_A63C_403C_9D7B_5B3BB7B33CFA
8
#define HAL_B16985A9_A63C_403C_9D7B_5B3BB7B33CFA
9
10
/* ***************************************************************************************
11
* Include
12
*/
13
#include "./../Base.h"
14
15
/* ***************************************************************************************
16
* Namespace
17
*/
18
namespace
hal::analog
{
19
struct
AnalogInputPin;
20
}
21
22
/* ***************************************************************************************
23
* Class/Interface/Struct
24
*/
25
32
struct
hal::analog::AnalogInputPin
:
public
virtual
mframe::lang::Interface
{
33
/* *************************************************************************************
34
* Method
35
*/
36
46
virtual
int
read
(
void
) abstract;
47
57
virtual
int
getConvertLevel
(
void
) abstract;
58
};
59
60
/* ***************************************************************************************
61
* End of file
62
*/
63
#endif
/* HAL_B16985A9_A63C_403C_9D7B_5B3BB7B33CFA */
hal::analog
Definition
Ammeter.h:23
hal::analog::AnalogInputPin
[Interface] 硬體抽象層,類比輸入訊號引腳
Definition
AnalogInputPin.h:32
hal::analog::AnalogInputPin::read
virtual int read(void) override
讀取類比訊號
hal::analog::AnalogInputPin::getConvertLevel
virtual int getConvertLevel(void) override
取得 ADC 解析度
mframe::lang::Interface
Definition
Interface.h:134
C:
Workspaces
mframe-doxygen
souurce
base
hal
src
analog
AnalogInputPin.h
產生者:
1.11.0