bcd.h 302 B

12345678910111213
  1. /*
  2. * SPDX-FileCopyrightText: 2022 Helmut Pozimski <helmut@pozimski.eu>
  3. *
  4. * SPDX-License-Identifier: GPL-2.0-only
  5. */
  6. uint8_t bcd_first_digit_value_bin(uint8_t bcd_value);
  7. uint8_t bcd_last_digit_value_bin(uint8_t bcd_value);
  8. uint8_t bcd2bin(uint8_t bcd_value);
  9. uint8_t bin2bcd(uint8_t bin_value);