Go to the source code of this file.
|
| bool | isDigit (char c) |
| |
| bool | isSpace (char c) |
| |
| char * | fmtBase10 (char *str, uint16_t n) |
| |
| char * | fmtBase10 (char *str, uint32_t n) |
| |
| char * | fmtDouble (char *str, double d, uint8_t prec, bool altFmt) |
| |
| char * | fmtDouble (char *str, double d, uint8_t prec, bool altFmt, char expChar) |
| |
| char * | fmtHex (char *str, uint32_t n) |
| |
| char * | fmtSigned (char *str, int32_t n, uint8_t base, bool caps) |
| |
| char * | fmtUnsigned (char *str, uint32_t n, uint8_t base, bool caps) |
| |
◆ fmtBase10() [1/2]
| char * fmtBase10 |
( |
char * |
str, |
|
|
uint16_t |
n |
|
) |
| |
◆ fmtBase10() [2/2]
| char * fmtBase10 |
( |
char * |
str, |
|
|
uint32_t |
n |
|
) |
| |
◆ fmtDouble() [1/2]
| char * fmtDouble |
( |
char * |
str, |
|
|
double |
d, |
|
|
uint8_t |
prec, |
|
|
bool |
altFmt |
|
) |
| |
◆ fmtDouble() [2/2]
| char * fmtDouble |
( |
char * |
str, |
|
|
double |
value, |
|
|
uint8_t |
prec, |
|
|
bool |
altFmt, |
|
|
char |
expChar |
|
) |
| |
Print a number followed by a field terminator.
- Parameters
-
| [in] | value | The number to be printed. |
| [in] | ptr | Pointer to last char in buffer. |
| [in] | prec | Number of digits after decimal point. |
| [in] | expChar | Use exp format if non zero. |
- Returns
- Pointer to first character of result.
◆ fmtHex()
| char * fmtHex |
( |
char * |
str, |
|
|
uint32_t |
n |
|
) |
| |
◆ fmtSigned()
| char * fmtSigned |
( |
char * |
str, |
|
|
int32_t |
n, |
|
|
uint8_t |
base, |
|
|
bool |
caps |
|
) |
| |
◆ fmtUnsigned()
| char * fmtUnsigned |
( |
char * |
str, |
|
|
uint32_t |
n, |
|
|
uint8_t |
base, |
|
|
bool |
caps |
|
) |
| |
◆ isDigit()
◆ isSpace()