LinxVIEW论坛-斯科道

 找回密码
 立即注册
查看: 2047|回复: 0

LINX状态

[复制链接]

483

主题

682

帖子

2287

积分

版主

Rank: 7Rank: 7Rank: 7

积分
2287
发表于 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, 2021-4-15 15:35 , Processed in 0.708231 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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