69 #define DATA_QUEUE_TIMEOUT_MS ((TickType_t)10u)
124 *pStartDatabaseEntryWR = 0;
126 pStartDatabaseEntryWR++;
167 void *pPassedDataStruct = receiveMessage.
pDatabaseEntry[queueEntry];
188 (void)memcpy(pDatabaseStruct, pPassedDataStruct, datalength);
192 (void)memcpy(pPassedDataStruct, pDatabaseStruct, datalength);
222 void *pDataToReceiver0,
223 void *pDataToReceiver1,
224 void *pDataToReceiver2,
225 void *pDataToReceiver3) {
228 TickType_t queuetimeout;
231 if (queuetimeout == 0) {
266 void *pDataFromSender0,
267 void *pDataFromSender1,
268 void *pDataFromSender2,
269 void *pDataFromSender3) {
272 TickType_t queuetimeout;
275 if (queuetimeout == (TickType_t)0) {
297 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
volatile bool ftsk_allQueuesCreated
QueueHandle_t ftsk_databaseQueue
Header of task driver implementation.
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]