BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
6360daf
Branches
Tags
master
mips_sys
fw
format.h
added debug output functions
Stefan Schuermans
commited
6360daf
at 2012-04-05 21:31:40
format.h
Blame
History
Raw
#ifndef FORMAT_H #define FORMAT_H /** * @brief convert unsigned integer to decimal * @param[in] uint unsigned integer value * @param[in] cnt number of digits * @param[out] digits value as decimal digits */ void format_uint2dec(unsigned int uint, unsigned int cnt, char digits[]); /** * @brief convert unsigned integer to hexadecimal * @param[in] uint unsigned integer value * @param[in] cnt number of digits * @param[out] digits value as decimal hexadigits */ void format_uint2hex(unsigned int uint, unsigned int cnt, char digits[]); #endif // #ifdef FORMAT_H