LinxVIEW论坛-斯科道

 找回密码
 立即注册
查看: 6151|回复: 0
打印 上一主题 下一主题

LINX状态

[复制链接]

535

主题

746

帖子

2597

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2597
跳转到指定楼层
楼主
发表于 2019-6-18 00:04:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
LINX相关运行状态和硬件接口状态

Common Statuses
Common Statuses

StatusMacroDescription
0x00L_OKOk (no error)
0x01L_FUNCTION_NOT_SUPPORTEDFunction not supported on this device
0x02L_REQUEST_RESENDRequest resend previous packet
0x03L_UNKNOWN_ERRORAn unknown error has occurred
0x04L_DISCONNECTThe connection has been lost
0x05 - 0x7F
-Reserved for future common statuses
0x80 - 0xFF
-Peripheral specific statuses

I2C

StatusMacroDescription
0x80LI2C_SADDRUnable to use the specified slave address
0x81LI2C_EOFSpecified EOF value not supported
0x82LI2C_WRITE_FAILFailed to write all bytes
0x83LI2C_READ_FAILFailed to read all bytes
0x84LI2C_CLOSE_FAILFailed to close the specified I2C channel
0x85LI2C_OPEN_FAIL
Failed to open the specified I2C channel



UART

StatusMacroDescription
0x80LUART_OPEN_FAILUnable to open the specified UART channel
0x81LUART_SET_BAUD_FAILUnable to set the UART baud rate
0x82LUART_AVAILABLE_FAILUnable to get the number of bytes available
0x83LUART_READ_FAILUnable to get the number of bytes available
0x84LUART_WRITE_FAILUnable to write to the specified UART channel
0x85LUART_CLOSE_FAIL
Unable to close the specified UART channel





回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|SCADAO  

GMT+8, 2024-4-20 02:10 , Processed in 0.042935 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表