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

[Interface] IIC接收事件處理器 更多...

#include <IIC.h>

類別hal::serial::IIC::EventReceiver的繼承圖:
mcxa153::core::CoreIIC ufm::io::SerialBus mcxa153::core::CoreIICMaster ufm::io::SerialBusQueue

公開方法(Public Methods)

virtual bool onReceiver (const uint8 data) override
 當接收到資料時調用此方法
 

詳細描述

[Interface] IIC接收事件處理器

定義IIC接收資料時的事件處理方法,當收到資料時觸發onReceiver 讓實現類處理接收到的資料。

1.0.0

函式成員說明文件

◆ onReceiver()

virtual bool hal::serial::IIC::EventReceiver::onReceiver ( const uint8 data)
pure virtual

當接收到資料時調用此方法

參數
data接收到的單個位元組資料
傳回值
true 繼續接收下一個資料
false 停止接收資料

實作於 mcxa153::core::CoreIIC, 及 ufm::io::SerialBus.


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