MC系列控制板 編譯器使用說明書 版本2.0 |
|
|
通訊函數
通訊函數 | |
PostData | 直接從串口傳送熟據 |
GetData | 從某裝置讀取數據 |
SetOutput | 設定某裝置的輸出 |
SetData | 傳送數據到某裝置 |
BroadCast | 數據廣播 |
通訊事件函數 | |
DataReceived | 系統收到由SetData傳來的數據會呼叫該函數 |
DataReturn | 系統執行SetData 且得到對方的回應會呼叫該函數 |
BroadcastReceived | 系統收到由BroadCast傳來的數據會呼叫該函數 |
GetDataReturn | 系統執行GetData 且得到對方的回應會呼叫該函數 |
SetOutputReturn | 系統執行SetOutput 且得到對方的回應會呼叫該函數 |
SetOutputReceived | 系統收到SetOutput 傳來的數據會呼叫該函數. |
RxHook | 屏蔽系統的通訊解碼, 直接用戶自行處理通信數據 |
通訊函數圖解
Newell Technologies Ltd. |