#ifndef __COM_BUF_TCB_H_ #define __COM_BUF_TCB_H_ //***************************************************************************** // (C) Automotive Lighting Reutlingen GmbH // Tuebinger Strasse 123, 72762 Reutlingen, Germany // // Automotive Lighting Reutlingen GmbH owns all the rights to this work. // This work shall not be copied, reproduced, used, modified, transferred // or its information shall not be disclosed without the prior written // authorization of Automotive Lighting Reutlingen GmbH. //***************************************************************************** //----------------------------------------------------------------------------- /// \file ComBufTcb.h /// /// \brief Alx1 - Generic operating system in C. Command scheduler macros. /// /// \descr Preprocessor macros for the task enum list and task RAM and ROM array list. /// /// \author Ramona-Andreea Bolboaca (f33613c) /// mailTo:ramona-andreea.bolboaca(at)magnetimarelli.com //----------------------------------------------------------------------------- //============================================================================= // Includes //============================================================================= #include #include <../Com/ComStack_Types.h> #define COMBUF_MAC_DECL_ENUM //lint -e451 Header file repeatedly included but does not have a standard include guard #include //lint +e451 Header file repeatedly included but does not have a standard include guard #undef COMBUF_MAC_DECL_ENUM //============================================================================= // Types //============================================================================= typedef enum enum_concurrentResponseMessageType { NO_CONCURRENT_REQUEST = 0, CONCURRENT_REQUEST = 1 }concurrentResponseMessageType; typedef struct structComBuf { boolean requestReceived; PduInfoType pduTxMessage; const uint16_t txBufferSize; concurrentResponseMessageType txBufferState; PduInfoType pduRxMessage; const uint16_t rxBufferSize; concurrentResponseMessageType rxBufferState; } tComBuf; typedef combuf_handle_type ComBufID; typedef PduInfoType* PduInfoTypeComBufPtr; typedef struct struct_MsgContextType { const uint8 * reqData; uint16 reqDataLen; uint16 reqDataSize; uint8 * resData; uint16 resDataLen; uint16 resDataSize; } MsgContextType; #endif//__COM_BUF_TCB_H_