// 保护寄存器配置
tmp = (3500- s_bq.offset) * 1000 / s_bq.gain;
tmp &= (0xFF << 4);
tmp >>= 4;
buf[0] = tmp;
bq_write_reg(BQ_OV_TRIP, buf, 1); // 过压保护 3.5
请问是不是那设置有问题了???
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.