kymo_core_memory.h Source File
API contracts in their original English. Navigation and guides are bilingual.
Go to the documentation of this file.
KymoStatus KymoCoreMemory_init(const KymoCoreMemoryConfig *pConfig)
Initialize memory and activate its processing in Core Main.
uint8_t(*) KymoMemoryReadFn(void *pContext, size_t entryIndex, uint32_t *pSizeBytes)
Reads one entry's current value.
Definition kymo_core_memory.h:86
void KymoCoreMemory_requestInfo(void)
Request another complete round of memory descriptions.
Status codes and callback types shared by every KymoCore module.
uint16_t infoPeriodMs
Description repeat interval in milliseconds; zero disables repetition.
Definition kymo_core_memory.h:111
KymoMemoryReadFn readBytesCbk
Required reader of one memory measurement, in bytes.
Definition kymo_core_memory.h:96
const char * pName
Name shown by the host, e.g. the task name; NULL means empty.
Definition kymo_core_memory.h:65
uint8_t kind
KYMO_MEMORY_STACK_PEAK, KYMO_MEMORY_HEAP_FREE or KYMO_MEMORY_HEAP_MIN_FREE.
Definition kymo_core_memory.h:71
uint8_t channel
DATA channel of the samples; unique, not used by measurements.
Definition kymo_core_memory.h:74
uint32_t totalSizeBytes
Size of the stack or heap in bytes; 0 when unknown.
Definition kymo_core_memory.h:68