summaryrefslogtreecommitdiff
path: root/include/bcd.h
blob: efbebcc49633652854f9b814cecb6007158e01fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef BCD_H
#define BCD_H

uint_fast8_t bcd2bin(uint8_t val);
uint8_t bin2bcd (uint_fast8_t val);

#endif /* BCD_H */