|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
GPS float structure. More...
#include <tm_stm32_gps.h>
Data Fields | |
| int32_t | Integer |
| uint32_t | Decimal |
GPS float structure.
But, if you want to make a tracker and save data to SD card, there is a problem, because FATFS library breaks %f with sprintf() function.
For that purpose I made a new function TM_GPS_ConvertFloat() which converts float number to an integer and decimal part. | uint32_t Decimal |
Decimal part of float number, in integer format.
| int32_t Integer |
Integer part of float number.