![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
Simple and fast ASCII converters. More...
#include "embedded_math.h"Go to the source code of this file.
Functions | |
| char * | my_itoa (char *target, int value) |
| char * | my_ftoa (char *target, float value) |
| char * | ftoa (char *Buffer, float Value) |
| float | my_atof (const char *s) |
| char * | format_2_digits (char *target, uint32_t data) |
| char * | append_string (char *target, const char *source) |
| basically: kind of strcat returning the pointer to the string-end | |
| void | newline (char *&next) |
| char * | format_integer (char *target, int32_t value) |
| signed integer to ASCII returning the string end | |
Simple and fast ASCII converters.
<Larus Flight Sensor Firmware>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file ascii_support.h.
basically: kind of strcat returning the pointer to the string-end
append carriage return and newline and advance pointer
Definition at line 56 of file ascii_support.h.
Referenced by format_GGA(), format_PLARA(), format_PLARB(), format_PLARD(), format_PLARS(), format_PLARV(), format_PLARW(), format_RMC(), and write_EEPROM_dump().
Definition at line 46 of file ascii_support.h.
Referenced by write_EEPROM_dump().
signed integer to ASCII returning the string end
Definition at line 196 of file ascii_support.cpp.
References format_integer(), and s.
Referenced by format_integer(), format_PLARV(), format_PLARW(), to_ascii_1_decimal(), and to_ascii_2_decimals().
Referenced by ascii_string_writer< size >::putf().
Definition at line 215 of file ascii_support.cpp.
Definition at line 99 of file ascii_support.cpp.
References my_itoa().
Referenced by serial_output::putf(), report_magnetic_calibration_has_changed(), and write_EEPROM_dump().
Definition at line 79 of file ascii_support.cpp.
References my_itoa().
Definition at line 65 of file ascii_support.h.