


#ifndef DCMDSPUDS_IOCBI_PRIV_H
#define DCMDSPUDS_IOCBI_PRIV_H


/**
 ***************************************************************************************************
            Input Output Control by Identifier Service  (IOCBI) service
 ***************************************************************************************************
 */

#if (DCM_CFG_DSP_IOCBI_ENABLED != DCM_CFG_OFF)

/* Minimum request length of IOCBI service excluding SID */
/* 2 bytes - DID; 1 byte - InputOutputControlParameter */
#define DSP_IOCBI_MINREQLEN            0x03u

/* Definition of IOCBI service state machine values */
typedef enum
{
    DCM_IOCBI_IDLE = 1,          /* IOCBI service is IDLE, not processing any request   */
    DCM_IOCBI_CHKSUPPORT,
    DCM_IOCBI_CHKCOND,
    DCM_IOCBI_RUNNING,           /* IOCBI service is running, processing a request      */
    DCM_IOCBI_READSTREC
}Dcm_DspIOCBIStates_ten;

#define DCM_IOCBI_RETURNCONTROLTOECU  0x0u
#define DCM_IOCBI_RESETTODEFAULT      0x1u
#define DCM_IOCBI_FREEZECURRENTSTATE  0x2u
#define DCM_IOCBI_SHORTTERMADJUSTMENT 0x3u

#define DCM_START_SEC_VAR_CLEARED_16 /*Adding this for memory mapping*/
#include "Dcm_MemMap.h"
extern uint16 Dcm_ReadSignalLength_u16;
#define DCM_STOP_SEC_VAR_CLEARED_16 /*Adding this for memory mapping*/
#include "Dcm_MemMap.h"

#define DCM_START_SEC_CODE /*Adding this for memory mapping*/
#include "Dcm_MemMap.h"
extern Std_ReturnType Dcm_GetLengthOfSignal (uint16 * dataSigLength_u16);
#define DCM_STOP_SEC_CODE /*Adding this for memory mapping*/
#include "Dcm_MemMap.h"

#endif /* #if (DCM_CFG_DSP_IOCBI_ENABLED != DCM_CFG_OFF) */

#endif /* #ifndef _DCMDSPUDS_IOCBI_PRIV_H */
