由于项目中用到BQ27542的HDQ通讯方式,所以想问一下BQ27542-G1的fid是多少?谢谢~~
因为目前总是add_slave()失败。
/**
* struct w1_family – reference counted family structure.
* @family_entry: family linked list
* @fid: 8 bit family identifier
* @fops: operations for this family
* @refcnt: reference counter
*/
struct w1_family
{
struct list_head family_entry;
u8 fid;
struct w1_family_ops *fops;
atomic_t refcnt;
};
Peiheng Liu:
您好,请问能提供有关代码来源和这个FID作用的相关信息吗?