mFrame
載入中...
搜尋中...
無符合項目
hal::digital::GeneralInput 結構 參考文件abstract

[Interface] GPIO輸入控制介面。 更多...

#include <GeneralInput.h>

類別hal::digital::GeneralInput的繼承圖:
hal::digital::GeneralPin mcxa153::core::CoreGeneralPin ufm::hw::VirtualGeneralPin

公開方法(Public Methods)

virtual bool getValue (void) override
 讀取引腳輸入電平。
 

詳細描述

[Interface] GPIO輸入控制介面。

定義GPIO輸入功能的基本操作:

  • 電平狀態讀取
  • 輸入資料獲取
1.0.0

函式成員說明文件

◆ getValue()

virtual bool hal::digital::GeneralInput::getValue ( void )
pure virtual

讀取引腳輸入電平。

傳回值
true 高電平
false 低電平

實作於 mcxa153::core::CoreGeneralPin, 及 ufm::hw::VirtualGeneralPin.


此結構(structure) 文件是由下列檔案中產生: