请问一下有人使用过STM SMBus stack去完成Smart Battery Data Specification - SBS Smart Battery System? 有没有相关的范例程式? 另外,STM的平台上,要去实现SBS命令,是利用SMBus堆栈 在SMBus堆栈中,st_command_t要去定义所要使用的SBS命令 请问一下有没有STM平台的使用者,已经定义好这些SBS命令资料了 typedef struct { uint8_t cmnd_code; /*!< command code - typically the first byte the master transmits after address */ uint8_t cmnd_query; /*!< supported direction, can be WRITE, READ, READ_AND_WRITE or READ_OR_WRITE */ uint8_t cmnd_master_Tx_size; /*!< number of bytes transmitted by the master, excluding the address, valid for WRITE and READ_OR_WRITE */ uint8_t cmnd_master_Rx_size; /*!< number of bytes transmitted by the slave, valid for READ_OR_WRITE and READ directions only */ } st_command_t; Thanks |
STM32Cube SMBus/PMBus embedded software (AN4502)
目前支持F0、F3、L0、L4等系列的产品:
http://www.st.com/content/st_com ... n/x-cube-smbus.html
评分
查看全部评分