Functions | |
void | CopyString (char *dest, const char *src) |
Copy the source string to destination. | |
int | strcat_custom (char *dest, const char *src, int destLen, bool insertSpace) |
Concatenates two strings. | |
int | ftoa_custom (float f, char *txt, int maxDigits, int precision) |
This function converts the floating point number to character string. | |
bool | atof_custom (const char *txt, float *f) |
Custom implementation to convert string to single precision number if possible. | |
int | btoa_custom (bool b, char *txt) |
Custom implementation to convert boolean value to string. | |
bool | atob_custom (const char *txt, bool *val) |
Custom implementation to convert string to boolean if possible. | |
int | itoa_custom (int32_t val, char *txt) |
This function converts the integer number to character string. | |
int | utoa_custom (uint32_t val, char *txt) |
This function converts the unsigned integer number to character string. | |
bool | atoi_custom (const char *txt, int32_t *result) |
Custom implementation to convert string to integer if possible. | |
bool | atou_custom (const char *txt, uint32_t *result) |
Custom implementation to convert string to unsigned integer if possible. | |
|
extern |
txt | Pointer to the text field. |
val | Pointer to the boolean value to be updated |
true
if successful else false
|
extern |
txt | Pointer to the text field. |
val | Pointer to the single precision value to be updated |
true
if successful else false
|
extern |
txt | Text representation |
result | Result of the conversion |
true
if successful else false
|
extern |
txt | Text representation |
result | Result of the conversion |
true
if successful else false
|
extern |
b | Boolean value. |
txt | Pointer to the text field to be filled. |
|
extern |
dest | Copy destination |
src | Source string |
|
extern |
f | Single precision floating point number to be converted |
txt | Pointer to the string |
maxDigits | Max number of digits to be displayed |
precision | Precision of reading to be displayed to avoid showing negligible numbers |
|
extern |
val | Value of the integer |
txt | Pointer to the string |
|
extern |
dest | Destination string containing the first part where the src part will be appended |
src | String to be appened in destination |
destLen | Length of the first string |
insertSpace | Selects if a space characters needs to be inserted in between the strings |
|
extern |
val | Value of the unsigned integer |
txt | Pointer to the string |