BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
902aa40
Branches
Tags
master
mips_sys
fw
format.h
replace email address in headers with blinkenarea address
Stefan Schuermans
commited
902aa40
at 2012-05-21 17:42:50
format.h
Blame
History
Raw
/* MIPS I system * Copyright 2011-2012 Stefan Schuermans <stefan@blinkenarea.org> * Copyleft GNU public license V2 or later * http://www.gnu.org/copyleft/gpl.html */ #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