ADC 源代码

# * coding: UTF8 *
"""

=================================================================================================

"""

[文档]def open(node): """ 打开实例 :param node: 节点名称,定义在board.json中 :returns: 0: 成功,其他: 失败 :raises OSError: EINVAL """ pass
[文档]def read(): """ 读取ADC采样数据 :param 空: :returns: >=0: ADC值,其他: 失败 :raises OSError: EINVAL """ pass
[文档]def close(): """ 关闭实例 :param 空: :returns: 0: 成功,其他: 失败 :raises OSError: EINVAL """ pass