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.

[参考译文] BQ78350:从0x1B ManufacturerDate ()命令中提取日、月和年

Guru**** 1831610 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/power-management-group/power-management/f/power-management-forum/1435511/bq78350-extracting-day-month-and-year-from-0x1b-manufacturerdate-command

器件型号:BQ78350

工具与软件:

您好,我对 0x1B ManufacturerDate()命令感到困惑,因为我想如何确定读取字时返回的2字节无符号整数的日期。 技术参考表显示"该读取字函数返回电池组的制造日期。 ManufacturerDate()值采用以下格式:Day + Month× 32+(Year–1980)× 256、并存储在 Manufacturer Date 中"。 假设这是一个等式、其中 Date_Integer =天+月× 32 +(年份–1980)× 256、这意味着有3个未知变量、并且只有一个已知变量。 那么,是否有人知道如何从这一天,月,年?