:1.912MB : :1 :2022-10-08 14:13:52
ds2762电电量芯片驱动实例如果开发者对于本文件有需要的可以参考。
ds2762电电量芯片驱动实例 stm32实例
u16 Read_Voltage (void)
{
u16 MSB, LSB,Temp,Voltage;
DS2762_Start ();
DS2762_Rst();
DS2762_Check(); //If a presence is detected, continue to read
DS2762_Write_Byte(0xCC); // Skip Net Address Command
DS2762_Write_Byte(0x69); // Read Registers Command
DS2762_Write_Byte(0x0C); // Voltage Register Address
MSB = DS2762_Read_Byte(); // Read msb
LSB = DS2762_Read_Byte() & 0xE0; // Read lsb and mask off lower 5 bits
Temp = (MSB<<8) LSB;
Voltage = ((Temp>>5) * 488) / 1000; //Voltage in Volts
return Voltage; //·μ??μ??1
}
02-05开源全系统驱动映射
02-0464位系统隐藏进程,非驱动隐藏
02-04失落的方舟外服纯图色脚本,乐玩键鼠驱动
02-020环遍历驱动隐藏模块
02-02驱动键鼠的硬件USB通讯
02-02开源映像回调驱动注入源码
02-02驱动改主板硬盘序列号
04-10Wine 6.6发布,提供更好的驱动支持