|
CTS-SAT-1-OBC-Firmware
|

Macros | |
| #define | LFS_MAX_PATH_LENGTH 200 |
| #define | LOG(severity, fmt, ...) |
Enumerations | |
| enum | LOG_severity_enum_t { LOG_SEVERITY_DEBUG = 1 << 0 , LOG_SEVERITY_NORMAL = 1 << 1 , LOG_SEVERITY_WARNING = 1 << 2 , LOG_SEVERITY_ERROR = 1 << 3 , LOG_SEVERITY_CRITICAL = 1 << 4 } |
Functions | |
| int | snprintf (char *buf, unsigned int size, const char *fmt,...) |
| int | strlen (const char *s) |
| void | LOG_message (uint32_t source, LOG_severity_enum_t severity, uint32_t sink_mask, const char *fmt,...) |
| static uint32_t | TIME_uptime_ms () |
| static uint16_t | parse_token (const char *src, uint16_t src_offset, uint16_t src_len, char *dst, uint16_t dst_size) |
| static int8_t | hex_to_int (char c) |
| static int32_t | parse_int (const char *s, bool *ok) |
| Parse a string into an integer. | |
| static int8_t | copy_lfs_file_chunk (const char *src_file_path, const char *dest_file_path, uint32_t start_offset, uint32_t byte_count) |
| __attribute__ ((used, section(".text.entry"))) | |
Variables | |
| static const uint32_t | LOG_SYSTEM_TELECOMMAND = 1 << 12 |
| static const uint32_t | LOG_SINK_ALL = (1 << 4) - 1 |
| static const char | ARG_DELIM = ';' |
| lfs_t | LFS_filesystem |
| volatile uint32_t | TIME_uptime_ms_from_tim6 |
| #define LFS_MAX_PATH_LENGTH 200 |
| #define LOG | ( | severity, | |
| fmt, | |||
| ... ) |
| enum LOG_severity_enum_t |
| __attribute__ | ( | (used, section(".text.entry")) | ) |

|
static |


|
static |

|
extern |
|
static |
Parse a string into an integer.
| s | String to parse. Valid formats: "0x<digits>" or "<digits>". Underscores are ignored. |


|
static |

|
extern |

|
extern |

|
inlinestatic |

|
static |
|
extern |
Created on: May 2, 2024 Author: Saksham Puri
|
static |
|
static |
|
extern |