commit | 67459aa2a78c667fd6521a0ef654a877b8fa6bb8 | [log] [tgz] |
---|---|---|
author | Jake Swensen <jake@swensen.io> | Wed Aug 18 18:13:20 2021 -0500 |
committer | Christopher Friedt <chrisfriedt@gmail.com> | Fri Sep 03 10:06:07 2021 -0400 |
tree | 7e19e2eef7262b9f846e7740ba6ca18b9a9f5cad | |
parent | 8edcf02881155bc2cdb8b8f7be66603f0a2fbd40 [diff] |
sys: util: add binary coded decimal functions Some devices (such as RTCs) have data formats that expect BCD values instead of binary. These routines allow for converting between binary and BCD formats. Signed-off-by: Jake Swensen <jake@swensen.io>