|
LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
|
#include "juno/macros.h"#include "juno/memory/memory_api.h"#include "juno/memory/memory_block.h"#include "juno/status.h"#include <stdio.h>#include <stdalign.h>
Data Structures | |
| struct | USER_DATA_T |
Typedefs | |
| typedef struct USER_DATA_T | USER_DATA_T |
Functions | |
| static JUNO_STATUS_T | UserDataCopy (JUNO_POINTER_T tDest, JUNO_POINTER_T tSrc) |
| static JUNO_STATUS_T | UserDataReset (JUNO_POINTER_T tPointer) |
| Reset the memory at the pointer. This could mean zero-initialization. | |
| JUNO_MEMORY_BLOCK (gUserDataMemory, USER_DATA_T, 5) | |
| JUNO_MEMORY_BLOCK_METADATA (gUserDataMetadata, 5) | |
| void | ErrorHandler (JUNO_STATUS_T tStatus, const char *pcMsg, JUNO_USER_DATA_T *pvUserData) |
| int | main (void) |
Variables | |
| const JUNO_POINTER_API_T | gtUserDataPointerApi |
| typedef struct USER_DATA_T USER_DATA_T |
| void ErrorHandler | ( | JUNO_STATUS_T | tStatus, |
| const char * | pcMsg, | ||
| JUNO_USER_DATA_T * | pvUserData | ||
| ) |
| JUNO_MEMORY_BLOCK | ( | gUserDataMemory | , |
| USER_DATA_T | , | ||
| 5 | |||
| ) |
| JUNO_MEMORY_BLOCK_METADATA | ( | gUserDataMetadata | , |
| 5 | |||
| ) |
| int main | ( | void | ) |
|
static |
|
static |
Reset the memory at the pointer. This could mean zero-initialization.
| const JUNO_POINTER_API_T gtUserDataPointerApi |