读取bq3060
时间:10-02
整理:3721RD
点击:
看了Data Flash Programming and Calibrating the bq3060 Gas Gauge这篇文档,其中的VB6代码,用到了一个函数WriteSMBusInteger(),这个函数是哪来的?有什么作用?
这个文档里有关于这个函数的描述:
1. WriteSMBusInteger( ) has two arguments – the SMBus command and a signed integer. Internally, this
function separates the integer into two bytes for transmission by the SMBus write-word protocol.