ButterflyMP3
|
AVR Butterfly BCD conversion algorithms. More...
Go to the source code of this file.
Functions | |
char | CHAR2BCD2 (char input) |
Function name : CHAR2BCD2. |
AVR Butterfly BCD conversion algorithms.
YYYYMMDD - VER. - COMMENT - SIGN. 20030116 - 1.0 - Created - KS
YYYYMMDD - VER. - COMMENT - SIGN. 20030116 - 1.0 - Created - KS
Definition in file BCD.c.
char CHAR2BCD2 | ( | char | input | ) |
Function name : CHAR2BCD2.
input | Value between (0-99) to be encoded into BCD |
Convert a character into a BCD encoded character. The input must be in the range 0 to 99. The result is byte where the high and low nibbles contain the tens and ones of the input.
Definition at line 37 of file BCD.c.
Referenced by ADC2Temp(), ADC2Volt(), and play_track_number().