Quantcast
Channel: 电源管理论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 9994

BQ27542-G1: 怎么把linux内核中关于hdq8协议相关的内容移植到单片机上

$
0
0
Part Number: BQ27542-G1
Other Parts Discussed in Thread: BQ27000

1、在官方提供的drivers/power/supply/bq27xxx_battery_hdq.c程序中提到的#include <linux/w1.h>,文件w1.h去哪里找啊,因为我使用的不是linux,需要把文件w1.h中的hdq8相关的协议移植出来,但是找不到这个文件,谢谢

这是官网中提供的源文件,没有找到w1.h文件

2、另一个问题是假如移植完毕,例程是关于bq27000的,我需要配置什么才能和bq27542进行通信?

3、例程中只有读函数,写函数有源文件吗?


Viewing all articles
Browse latest Browse all 9994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>