◆ abort()
virtual bool hal::serial::IICMaster::abort |
( |
void | | ) |
|
|
pure virtual |
◆ beginRead()
virtual bool hal::serial::IICMaster::beginRead |
( |
uint16 | address | ) |
|
|
pure virtual |
開始讀取事件
- 參數
-
- 傳回值
- 返回狀態
- [true] 成功開始讀取
- [false] 開始失敗,可能原因如下
- - 設備忙碌中,正在傳輸。
- - 總線忙碌。
- - 設備尚未初始化。
實作於 core::CoreIICMaster.
◆ beginWrite()
virtual bool hal::serial::IICMaster::beginWrite |
( |
uint16 | address | ) |
|
|
pure virtual |
開始傳輸事件
- 參數
-
- 傳回值
- 返回狀態
- [true] 成功開始傳輸
- [false] 開始失敗,可能原因如下
- - 設備忙碌中,正在傳輸。
- - 總線忙碌。
- - 設備尚未初始化。
實作於 core::CoreIICMaster.
◆ getClock()
virtual uint32 hal::serial::IICMaster::getClock |
( |
void | | ) |
|
|
pure virtual |
◆ getIIC()
◆ isBusy()
virtual bool hal::serial::IICMaster::isBusy |
( |
void | | ) |
|
|
pure virtual |
◆ setClock()
virtual void hal::serial::IICMaster::setClock |
( |
uint32 | hz | ) |
|
|
pure virtual |
◆ setEventError()
此結構(structure) 文件是由下列檔案中產生: