67 #define DATA_QUEUE_TIMEOUT_MS ((TickType_t)10u)
122 *pStartDatabaseEntryWR = 0;
124 pStartDatabaseEntryWR++;
165 void *pPassedDataStruct = receiveMessage.
pDatabaseEntry[queueEntry];
186 (void)memcpy(pDatabaseStruct, pPassedDataStruct, datalength);
190 (void)memcpy(pPassedDataStruct, pDatabaseStruct, datalength);
220 void *pDataToReceiver0,
221 void *pDataToReceiver1,
222 void *pDataToReceiver2,
223 void *pDataToReceiver3) {
226 TickType_t queuetimeout;
229 if (queuetimeout == 0) {
264 void *pDataFromSender0,
265 void *pDataFromSender1,
266 void *pDataFromSender2,
267 void *pDataFromSender3) {
270 TickType_t queuetimeout;
273 if (queuetimeout == (TickType_t)0) {
295 dummyWriteTable.
member1 = UINT8_MAX;
STD_RETURN_TYPE_e DATA_Write_4_DataBlocks(void *pDataFromSender0, void *pDataFromSender1, void *pDataFromSender2, void *pDataFromSender3)
Stores a datablock in database.
void DATA_Task(void)
trigger of database manager
struct DATA_BASE_HEADER DATA_BASE_HEADER_s
void DATA_DummyFunction(void)
Dummy void function of the database module.
STD_RETURN_TYPE_e DATA_Read_1_DataBlock(void *pDataToReceiver0)
Reads a datablock in database by value.
STD_RETURN_TYPE_e DATA_Read_3_DataBlocks(void *pDataToReceiver0, void *pDataToReceiver1, void *pDataToReceiver2)
Reads a datablock in database by value.
static uint16_t uniqueIdToDatabaseEntry[DATA_BLOCK_ID_MAX]
uniqueId to respective database entry selector
static const DATA_BASE_HEADER_s data_baseHeader
device configuration of database
STD_RETURN_TYPE_e DATA_Write_1_DataBlock(void *pDataFromSender0)
Stores a datablock in database.
void DATA_ExecuteDataBIST(void)
Executes a built-in self-test for the database module.
STD_RETURN_TYPE_e DATA_Read_2_DataBlocks(void *pDataToReceiver0, void *pDataToReceiver1)
Reads a datablock in database by value.
#define DATA_QUEUE_TIMEOUT_MS
STD_RETURN_TYPE_e DATA_Write_3_DataBlocks(void *pDataFromSender0, void *pDataFromSender1, void *pDataFromSender2)
Stores a datablock in database.
STD_RETURN_TYPE_e DATA_Init(void)
Initialization of database manager.
STD_RETURN_TYPE_e DATA_Write_2_DataBlocks(void *pDataFromSender0, void *pDataFromSender1)
Stores a datablock in database.
STD_RETURN_TYPE_e DATA_Read_4_DataBlocks(void *pDataToReceiver0, void *pDataToReceiver1, void *pDataToReceiver2, void *pDataToReceiver3)
Reads a datablock in database by value.
enum DATA_BLOCK_ACCESS_TYPE DATA_BLOCK_ACCESS_TYPE_e
data block access types (read or write)
#define DATA_MAX_ENTRIES_PER_ACCESS
#define DATA_DUMMY_VALUE_UINT8_T_ALTERNATING_BIT_PATTERN
#define DATA_READ_DATA(...)
#define DATA_WRITE_DATA(...)
DATA_BASE_s data_database[]
channel configuration of database (data blocks)
enum DATA_BLOCK_ID DATA_BLOCK_ID_e
@ DATA_BLOCK_ID_DUMMY_FOR_SELF_TEST
#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
#define static_assert(cond, msg)
static assertion macro
#define FAS_TRAP
Define that evaluates to essential boolean false thus tripping an assert.
#define NULL_PTR
Null pointer.
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
Header of task driver implementation.
volatile bool ftsk_allQueuesCreated
QueueHandle_t ftsk_databaseQueue
Declaration of the OS wrapper interface.
OS_STD_RETURN_e OS_ReceiveFromQueue(OS_QUEUE xQueue, void *const pvBuffer, uint32_t ticksToWait)
Receive an item from a queue.
OS_STD_RETURN_e OS_SendToBackOfQueue(OS_QUEUE xQueue, const void *const pvItemToQueue, TickType_t ticksToWait)
Post an item to the back the provided queue.
uint32_t OS_GetTickCount(void)
Returns OS based system tick value.
DATA_BLOCK_HEADER_s header
DATA_BLOCK_ACCESS_TYPE_e accesstype
void * pDatabaseEntry[DATA_MAX_ENTRIES_PER_ACCESS]