NavHAL 0.1.0
NAVRobotec's architecture-agnostic HAL for embedded systems.
Loading...
Searching...
No Matches
conversion.h
Go to the documentation of this file.
1
20
21 #ifndef CONVERSION_H
22 #define CONVERSION_H
23
24 #include <stdint.h>
25
35 int32_t str_to_int(const char *s);
36
46 float str_to_float(const char *s);
47
48 #endif // CONVERSION_H
int32_t str_to_int(const char *s)
Convert a string to a 32-bit signed integer.
Definition conversion.c:44
float str_to_float(const char *s)
Convert a string to a floating-point number.
Definition conversion.c:96