#include <math.h>#include <stdint.h>#include <stdbool.h>#include <string.h>#include <ctype.h>#include "hal.h"#include "protocol.h"#include "state_machine.h"#include "nuts_bolts.h"Macros | |
| #define | MAX_PRECISION 10 |
Functions | |
| char * | uitoa (uint32_t n) |
| char * | ftoa (float n, uint8_t decimal_places) |
| char * | trim_float (char *s) |
| status_code_t | read_uint (const char *line, uint_fast8_t *char_counter, uint32_t *uint_ptr) |
| bool | read_float (const char *line, uint_fast8_t *char_counter, float *float_ptr) |
| bool | isintf (float value) |
| bool | delay_sec (float seconds, delaymode_t mode) |
| float | convert_delta_vector_to_unit_vector (float *vector) |
| struct tm * | get_datetime (const char *s) |
| char * | strcaps (char *s) |
| uint_fast8_t | bit_count (uint32_t bits) |
| void | dummy_handler (void) |
Variables | |
| const coord_data_t | null_vector = {0} |
| char const *const | axis_letter [N_AXIS] |
| #define MAX_PRECISION 10 |
| uint_fast8_t bit_count | ( | uint32_t | bits | ) |
| float convert_delta_vector_to_unit_vector | ( | float * | vector | ) |
| bool delay_sec | ( | float | seconds, |
| delaymode_t | mode | ||
| ) |
| void dummy_handler | ( | void | ) |
| char* ftoa | ( | float | n, |
| uint8_t | decimal_places | ||
| ) |
| struct tm* get_datetime | ( | const char * | s | ) |
| bool isintf | ( | float | value | ) |
| bool read_float | ( | const char * | line, |
| uint_fast8_t * | char_counter, | ||
| float * | float_ptr | ||
| ) |
| status_code_t read_uint | ( | const char * | line, |
| uint_fast8_t * | char_counter, | ||
| uint32_t * | uint_ptr | ||
| ) |
| char* strcaps | ( | char * | s | ) |
| char* trim_float | ( | char * | s | ) |
| char* uitoa | ( | uint32_t | n | ) |
| char const* const axis_letter[N_AXIS] |
| const coord_data_t null_vector = {0} |