U8BIT STB_GetRAMRecordId(void *rec_ptr)
Returns record type id for given record pointer.
Definition: stbdbram.c:223
NVM database access defines, structures and functions.
void STB_MoveRAMRecordAfter(void *rec_ptr, void *dst_ptr)
Moves RAM record after the specified record in the RAM linked list.
Definition: stbdbram.c:418
void * STB_CreateRAMRecord(U8BIT rec_id, U16BIT size, U16BIT nvm_block, void *parent)
Creates a record of the type given in RAM (mallocs block).
Definition: stbdbram.c:156
void STB_SetRAMRecordNumber(void *rec_ptr, U16BIT offset, U16BIT size, U32BIT value)
Writes the specified value into a field of a RAM record.
Definition: stbdbram.c:593
U16BIT STB_GetRAMRecordPrevNVMBlock(void *rec_ptr)
Returns NVM block number for previous record of given pointer.
Definition: stbdbram.c:275
void STB_SetRAMRecordPointer(void *rec_ptr, U16BIT offset, void *ptr)
Writes the specified value into a field of a RAM record.
Definition: stbdbram.c:630
void * STB_GetRAMRecordPointer(void *rec_ptr, U16BIT offset)
Reads the specified value of a field from a RAM record.
Definition: stbdbram.c:737
void * STB_GetRAMRecordParent(void *rec_ptr)
Returns parent pointer for given record pointer.
Definition: stbdbram.c:343
void STB_PurgeRAMRecords(void)
Initialises RAM database by destroying all records and linked lists.
Definition: stbdbram.c:111
void STB_SetRAMRecordParent(void *rec_ptr, void *parent)
Sets parent pointer for given record pointer.
Definition: stbdbram.c:370
void STB_InitRAMAccess(void)
Initialises parameters needed for RAM record access.
Definition: stbdbram.c:79
void STB_DestroyRAMRecord(void *rec_ptr)
Destroys record given in RAM (frees block).
Definition: stbdbram.c:197
U8BIT * STB_GetRAMRecordString(void *rec_ptr, U16BIT offset, U16BIT size)
Reads the specified value of a field from a RAM record.
Definition: stbdbram.c:667
U32BIT STB_GetRAMRecordNumber(void *rec_ptr, U16BIT offset, U16BIT size)
Reads the specified value of a field from a RAM record.
Definition: stbdbram.c:697
void STB_MoveRAMRecordBefore(void *rec_ptr, void *dst_ptr)
Moves RAM record before the specified record in the RAM linked list.
Definition: stbdbram.c:393
void * STB_FindRAMRecordFromId(U8BIT rec_id, void *parent, void *last_rec)
Returns pointer to RAM structure for the given record type. Finds the next record in the list after t...
Definition: stbdbram.c:445
U16BIT STB_GetRAMRecordNVMBlock(void *rec_ptr)
Returns NVM block number for given record pointer.
Definition: stbdbram.c:249
void STB_SetRAMRecordString(void *rec_ptr, U16BIT offset, U16BIT size, U8BIT *string)
Writes the specified string into a field of a RAM record.
Definition: stbdbram.c:552
System Wide Global Technical Data Type Definitions.
void * STB_FindRAMRecordFromNVMBlock(U16BIT nvm_block)
Returns pointer to RAM structure which relates to the given NVM record block no.
Definition: stbdbram.c:510
U16BIT STB_GetRAMRecordNextNVMBlock(void *rec_ptr)
Returns NVM block number for next record of given pointer.
Definition: stbdbram.c:309