/* -----------------------------------------------------------------------------
  Filename:    il_par.h
  Description: Toolversion: 02.03.25.01.90.05.57.01.00.00
               
               Serial Number: CBD1900557
               Customer Info: Ningbo Joyson Preh Car Connect Co., Ltd.
                              Package: CBD_Vector_SLP2
                              Micro: MPC5745B
                              Compiler: Gnu 9.2.0
               
               
               Generator Fwk   : GENy 
               Generator Module: Il_Vector
               
               Configuration   : C:\Data\Users\huo_h1\Documents\NIO_FORCE_VBOX-SVN\30_DevelopLibrary\03_SW\90_Others\CANbedded\NIO_Geny_Force_BTA_CAN_Draft_0_1\NIO_Geny_For_CanMatrix\GENy.gny
               
               ECU: 
                       TargetSystem: Hw_Mpc5700Cpu
                       Compiler:     GNU
                       Derivates:    MPC5746C
               
               Channel "Channel0":
                       Databasefile: C:\Data\Users\huo_h1\Documents\NIO_FORCE_VBOX-SVN\30_DevelopLibrary\03_SW\90_Others\CANbedded\NIO_Geny_Force_BTA_CAN_Draft_0_1\NIO_Geny_For_CanMatrix\NIO_Force_BTA_CAN_draft_2020_9_22.dbc
                       Bussystem:    CAN
                       Manufacturer: Vector
                       Node:         SA

 ----------------------------------------------------------------------------- */
/* -----------------------------------------------------------------------------
  C O P Y R I G H T
 -------------------------------------------------------------------------------
  Copyright (c) 2001-2015 by Vector Informatik GmbH. All rights reserved.
 
  This software is copyright protected and proprietary to Vector Informatik 
  GmbH.
  
  Vector Informatik GmbH grants to you only those rights as set out in the 
  license conditions.
  
  All other rights remain with Vector Informatik GmbH.
 -------------------------------------------------------------------------------
 ----------------------------------------------------------------------------- */

#if !defined(__IL_PAR_H__)
#define __IL_PAR_H__

/* -----------------------------------------------------------------------------
    &&&~ Typedefs
 ----------------------------------------------------------------------------- */

#if defined(IL_ENABLE_TX)
typedef vuint8 IltTxCounter;
#endif

#if defined(IL_ENABLE_TX)
typedef vuint8 IltTxUpdateCounter;
#endif

#if defined(IL_ENABLE_TX) && defined(IL_ENABLE_TX_TIMEOUT)
typedef vuint8 IltTxTimeoutCounter;
#endif

#if defined(IL_ENABLE_RX) && defined(IL_ENABLE_RX_TIMEOUT)
typedef vuint8 IltRxTimeoutCounter;
#endif

#if defined(IL_ENABLE_TX) && defined(IL_ENABLE_TX_SECURE_EVENT)
typedef vuint8 IltTxRepetitionCounter;
#endif



/* -----------------------------------------------------------------------------
    &&&~ Message Handles
 ----------------------------------------------------------------------------- */

#define IlRxMsgHndNM_CGW                     0
#define IlRxMsgHndPCTOOL_REQ                 1
#define IlRxMsgHndCGW_03                     2
#define IlTxMsgHndSA_PCTOOL_RES              0
#define IlTxMsgHndSA_01                      1


/* -----------------------------------------------------------------------------
    &&&~ Signal Handles
 ----------------------------------------------------------------------------- */

#define IlRxSigHndScrNodId_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndRepMsgReq_CGW              IlRxMsgHndNM_CGW
#define IlRxSigHndNetMngtCoorn_CGW           IlRxMsgHndNM_CGW
#define IlRxSigHndNetMngtCoorrSleepRdy_CGW   IlRxMsgHndNM_CGW
#define IlRxSigHndActvWakeup_CGW             IlRxMsgHndNM_CGW
#define IlRxSigHndResdBit1_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndPtlNetInfo_CGW             IlRxMsgHndNM_CGW
#define IlRxSigHndResdBit2_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndUsrData0_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndUsrData1_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndUsrData2_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndUsrData3_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndUsrData4_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndUsrData5_CGW               IlRxMsgHndNM_CGW
#define IlRxSigHndPCTOOL_Req_Byte_0          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_1          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_2          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_3          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_4          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_5          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_6          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndPCTOOL_Req_Byte_7          IlRxMsgHndPCTOOL_REQ
#define IlRxSigHndCGW_03_CRC                 IlRxMsgHndCGW_03
#define IlRxSigHndVehState_ASIL              IlRxMsgHndCGW_03
#define IlRxSigHndCGW_03_MsgCntr             IlRxMsgHndCGW_03
#define IlRxSigHndComfEna_ASIL               IlRxMsgHndCGW_03
#define IlRxSigHndVehMode                    IlRxMsgHndCGW_03
#define IlRxSigHndNBSMovReq                  IlRxMsgHndCGW_03
#define IlRxSigHndNBSSideDetectionReq        IlRxMsgHndCGW_03
#define IlRxSigHndNBSReq                     IlRxMsgHndCGW_03
#define IlTxSigHndSA_PCTOOL_Res_Byte_0       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_1       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_2       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_3       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_4       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_5       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_6       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndSA_PCTOOL_Res_Byte_7       IlTxMsgHndSA_PCTOOL_RES
#define IlTxSigHndEmgcCallTrigd_SA           IlTxMsgHndSA_01
#define IlTxSigHndEmgcCallFlrSts_SA          IlTxMsgHndSA_01


/* -----------------------------------------------------------------------------
    &&&~ Critical section macros for signals
 ----------------------------------------------------------------------------- */

#define IlEnterCriticalSA_PCTOOL_Res_Byte_0() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_0() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_1() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_1() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_2() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_2() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_3() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_3() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_4() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_4() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_5() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_5() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_6() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_6() CanGlobalInterruptRestore()
#define IlEnterCriticalSA_PCTOOL_Res_Byte_7() CanGlobalInterruptDisable()
#define IlLeaveCriticalSA_PCTOOL_Res_Byte_7() CanGlobalInterruptRestore()
#define IlEnterCriticalEmgcCallTrigd_SA()    CanGlobalInterruptDisable()
#define IlLeaveCriticalEmgcCallTrigd_SA()    CanGlobalInterruptRestore()
#define IlEnterCriticalEmgcCallFlrSts_SA()   CanGlobalInterruptDisable()
#define IlLeaveCriticalEmgcCallFlrSts_SA()   CanGlobalInterruptRestore()
#define IlEnterCriticalScrNodId_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalScrNodId_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalRepMsgReq_CGW()       CanGlobalInterruptDisable()
#define IlLeaveCriticalRepMsgReq_CGW()       CanGlobalInterruptRestore()
#define IlEnterCriticalNetMngtCoorn_CGW()    CanGlobalInterruptDisable()
#define IlLeaveCriticalNetMngtCoorn_CGW()    CanGlobalInterruptRestore()
#define IlEnterCriticalNetMngtCoorrSleepRdy_CGW() CanGlobalInterruptDisable()
#define IlLeaveCriticalNetMngtCoorrSleepRdy_CGW() CanGlobalInterruptRestore()
#define IlEnterCriticalActvWakeup_CGW()      CanGlobalInterruptDisable()
#define IlLeaveCriticalActvWakeup_CGW()      CanGlobalInterruptRestore()
#define IlEnterCriticalResdBit1_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalResdBit1_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalPtlNetInfo_CGW()      CanGlobalInterruptDisable()
#define IlLeaveCriticalPtlNetInfo_CGW()      CanGlobalInterruptRestore()
#define IlEnterCriticalResdBit2_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalResdBit2_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalUsrData0_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalUsrData0_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalUsrData1_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalUsrData1_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalUsrData2_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalUsrData2_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalUsrData3_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalUsrData3_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalUsrData4_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalUsrData4_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalUsrData5_CGW()        CanGlobalInterruptDisable()
#define IlLeaveCriticalUsrData5_CGW()        CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_0()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_0()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_1()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_1()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_2()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_2()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_3()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_3()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_4()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_4()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_5()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_5()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_6()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_6()   CanGlobalInterruptRestore()
#define IlEnterCriticalPCTOOL_Req_Byte_7()   CanGlobalInterruptDisable()
#define IlLeaveCriticalPCTOOL_Req_Byte_7()   CanGlobalInterruptRestore()
#define IlEnterCriticalCGW_03_CRC()          CanGlobalInterruptDisable()
#define IlLeaveCriticalCGW_03_CRC()          CanGlobalInterruptRestore()
#define IlEnterCriticalVehState_ASIL()       CanGlobalInterruptDisable()
#define IlLeaveCriticalVehState_ASIL()       CanGlobalInterruptRestore()
#define IlEnterCriticalCGW_03_MsgCntr()      CanGlobalInterruptDisable()
#define IlLeaveCriticalCGW_03_MsgCntr()      CanGlobalInterruptRestore()
#define IlEnterCriticalComfEna_ASIL()        CanGlobalInterruptDisable()
#define IlLeaveCriticalComfEna_ASIL()        CanGlobalInterruptRestore()
#define IlEnterCriticalVehMode()             CanGlobalInterruptDisable()
#define IlLeaveCriticalVehMode()             CanGlobalInterruptRestore()
#define IlEnterCriticalNBSMovReq()           CanGlobalInterruptDisable()
#define IlLeaveCriticalNBSMovReq()           CanGlobalInterruptRestore()
#define IlEnterCriticalNBSSideDetectionReq() CanGlobalInterruptDisable()
#define IlLeaveCriticalNBSSideDetectionReq() CanGlobalInterruptRestore()
#define IlEnterCriticalNBSReq()              CanGlobalInterruptDisable()
#define IlLeaveCriticalNBSReq()              CanGlobalInterruptRestore()


/* -----------------------------------------------------------------------------
    &&&~ Access to DataChanged flags
 ----------------------------------------------------------------------------- */

#define IlGetCGW_03_CRCDataChanged()         (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x01)) != (vuint8) 0x00)
#define IlGetVehState_ASILDataChanged()      (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x02)) != (vuint8) 0x00)
#define IlGetCGW_03_MsgCntrDataChanged()     (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x04)) != (vuint8) 0x00)
#define IlGetComfEna_ASILDataChanged()       (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x08)) != (vuint8) 0x00)
#define IlGetVehModeDataChanged()            (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x10)) != (vuint8) 0x00)
#define IlGetNBSMovReqDataChanged()          (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x20)) != (vuint8) 0x00)
#define IlGetNBSSideDetectionReqDataChanged() (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x40)) != (vuint8) 0x00)
#define IlGetNBSReqDataChanged()             (((vuint8) (ilRxDataChangedFlags[0] & (vuint8) 0x80)) != (vuint8) 0x00)
#define IlSetCGW_03_CRCDataChanged()         (ilRxDataChangedFlags[0] |= (vuint8) 0x01)
#define IlSetVehState_ASILDataChanged()      (ilRxDataChangedFlags[0] |= (vuint8) 0x02)
#define IlSetCGW_03_MsgCntrDataChanged()     (ilRxDataChangedFlags[0] |= (vuint8) 0x04)
#define IlSetComfEna_ASILDataChanged()       (ilRxDataChangedFlags[0] |= (vuint8) 0x08)
#define IlSetVehModeDataChanged()            (ilRxDataChangedFlags[0] |= (vuint8) 0x10)
#define IlSetNBSMovReqDataChanged()          (ilRxDataChangedFlags[0] |= (vuint8) 0x20)
#define IlSetNBSSideDetectionReqDataChanged() (ilRxDataChangedFlags[0] |= (vuint8) 0x40)
#define IlSetNBSReqDataChanged()             (ilRxDataChangedFlags[0] |= (vuint8) 0x80)
#define IlClrCGW_03_CRCDataChanged()         (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xFE))
#define IlClrVehState_ASILDataChanged()      (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xFD))
#define IlClrCGW_03_MsgCntrDataChanged()     (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xFB))
#define IlClrComfEna_ASILDataChanged()       (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xF7))
#define IlClrVehModeDataChanged()            (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xEF))
#define IlClrNBSMovReqDataChanged()          (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xDF))
#define IlClrNBSSideDetectionReqDataChanged() (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0xBF))
#define IlClrNBSReqDataChanged()             (ilRxDataChangedFlags[0] &= (vuint8) (0xFF & (vuint8) 0x7F))


/* -----------------------------------------------------------------------------
    &&&~ Declaration Confirmation Functions
 ----------------------------------------------------------------------------- */

/* Application signal confirmation callback functions */


/* -----------------------------------------------------------------------------
    &&&~ Declaration Indication Functions
 ----------------------------------------------------------------------------- */

/* Application signal indication callback functions */


/* -----------------------------------------------------------------------------
    &&&~ Declaration User Timeout Functions
 ----------------------------------------------------------------------------- */

#if defined(IL_ENABLE_TX) && defined(IL_ENABLE_TX_TIMEOUT)
#endif



/* -----------------------------------------------------------------------------
    &&&~ Get Rx Signal Access for signals smaller or equal 8bit
 ----------------------------------------------------------------------------- */

/* Handle:    0,Name:                   ScrNodId_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxScrNodId_CGW()                (NM_CGW.NM_CGW.ScrNodId_CGW)
#endif

/* Handle:    1,Name:                  RepMsgReq_CGW,Size:  1,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxRepMsgReq_CGW()               (NM_CGW.NM_CGW.RepMsgReq_CGW)
#endif

/* Handle:    2,Name:               NetMngtCoorn_CGW,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxNetMngtCoorn_CGW()            (NM_CGW.NM_CGW.NetMngtCoorn_CGW)
#endif

/* Handle:    3,Name:       NetMngtCoorrSleepRdy_CGW,Size:  1,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxNetMngtCoorrSleepRdy_CGW()    (NM_CGW.NM_CGW.NetMngtCoorrSleepRdy_CGW)
#endif

/* Handle:    4,Name:                 ActvWakeup_CGW,Size:  1,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxActvWakeup_CGW()              (NM_CGW.NM_CGW.ActvWakeup_CGW)
#endif

/* Handle:    5,Name:                   ResdBit1_CGW,Size:  1,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxResdBit1_CGW()                (NM_CGW.NM_CGW.ResdBit1_CGW)
#endif

/* Handle:    6,Name:                 PtlNetInfo_CGW,Size:  1,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPtlNetInfo_CGW()              (NM_CGW.NM_CGW.PtlNetInfo_CGW)
#endif

/* Handle:    7,Name:                   ResdBit2_CGW,Size:  1,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxResdBit2_CGW()                (NM_CGW.NM_CGW.ResdBit2_CGW)
#endif

/* Handle:    8,Name:                   UsrData0_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxUsrData0_CGW()                (NM_CGW.NM_CGW.UsrData0_CGW)
#endif

/* Handle:    9,Name:                   UsrData1_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxUsrData1_CGW()                (NM_CGW.NM_CGW.UsrData1_CGW)
#endif

/* Handle:   10,Name:                   UsrData2_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxUsrData2_CGW()                (NM_CGW.NM_CGW.UsrData2_CGW)
#endif

/* Handle:   11,Name:                   UsrData3_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxUsrData3_CGW()                (NM_CGW.NM_CGW.UsrData3_CGW)
#endif

/* Handle:   12,Name:                   UsrData4_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxUsrData4_CGW()                (NM_CGW.NM_CGW.UsrData4_CGW)
#endif

/* Handle:   13,Name:                   UsrData5_CGW,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxUsrData5_CGW()                (NM_CGW.NM_CGW.UsrData5_CGW)
#endif

/* Handle:   14,Name:              PCTOOL_Req_Byte_0,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_0()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_0)
#endif

/* Handle:   15,Name:              PCTOOL_Req_Byte_1,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_1()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_1)
#endif

/* Handle:   16,Name:              PCTOOL_Req_Byte_2,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_2()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_2)
#endif

/* Handle:   17,Name:              PCTOOL_Req_Byte_3,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_3()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_3)
#endif

/* Handle:   18,Name:              PCTOOL_Req_Byte_4,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_4()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_4)
#endif

/* Handle:   19,Name:              PCTOOL_Req_Byte_5,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_5()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_5)
#endif

/* Handle:   20,Name:              PCTOOL_Req_Byte_6,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_6()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_6)
#endif

/* Handle:   21,Name:              PCTOOL_Req_Byte_7,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxPCTOOL_Req_Byte_7()           (PCTOOL_REQ.PCTOOL_REQ.PCTOOL_Req_Byte_7)
#endif

/* Handle:   22,Name:                     CGW_03_CRC,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxCGW_03_CRC()                  (CGW_03.CGW_03.CGW_03_CRC)
#endif

/* Handle:   23,Name:                  VehState_ASIL,Size:  4,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxVehState_ASIL()               (CGW_03.CGW_03.VehState_ASIL)
#endif

/* Handle:   24,Name:                 CGW_03_MsgCntr,Size:  4,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxCGW_03_MsgCntr()              (CGW_03.CGW_03.CGW_03_MsgCntr)
#endif

/* Handle:   25,Name:                   ComfEna_ASIL,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxComfEna_ASIL()                (CGW_03.CGW_03.ComfEna_ASIL)
#endif

/* Handle:   26,Name:                        VehMode,Size:  4,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxVehMode()                     (CGW_03.CGW_03.VehMode)
#endif

/* Handle:   27,Name:                      NBSMovReq,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxNBSMovReq()                   (CGW_03.CGW_03.NBSMovReq)
#endif

/* Handle:   28,Name:            NBSSideDetectionReq,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxNBSSideDetectionReq()         (CGW_03.CGW_03.NBSSideDetectionReq)
#endif

/* Handle:   29,Name:                         NBSReq,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_RX
#define IlGetRxNBSReq()                      (CGW_03.CGW_03.NBSReq)
#endif



/* -----------------------------------------------------------------------------
    &&&~ Set Tx Signal Access for signals smaller or equal 8bit, SendType cyclic or none
 ----------------------------------------------------------------------------- */

/* Handle:    0,Name:           SA_PCTOOL_Res_Byte_0,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_0(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_0(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_0 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_0(); \
}
#endif

/* Handle:    1,Name:           SA_PCTOOL_Res_Byte_1,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_1(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_1(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_1 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_1(); \
}
#endif

/* Handle:    2,Name:           SA_PCTOOL_Res_Byte_2,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_2(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_2(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_2 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_2(); \
}
#endif

/* Handle:    3,Name:           SA_PCTOOL_Res_Byte_3,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_3(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_3(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_3 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_3(); \
}
#endif

/* Handle:    4,Name:           SA_PCTOOL_Res_Byte_4,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_4(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_4(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_4 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_4(); \
}
#endif

/* Handle:    5,Name:           SA_PCTOOL_Res_Byte_5,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_5(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_5(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_5 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_5(); \
}
#endif

/* Handle:    6,Name:           SA_PCTOOL_Res_Byte_6,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxSA_PCTOOL_Res_Byte_6(c) \
{ \
  IlEnterCriticalSA_PCTOOL_Res_Byte_6(); \
  SA_PCTOOL_RES.SA_PCTOOL_RES.SA_PCTOOL_Res_Byte_6 = (c); \
  IlLeaveCriticalSA_PCTOOL_Res_Byte_6(); \
}
#endif

/* Handle:    8,Name:               EmgcCallTrigd_SA,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxEmgcCallTrigd_SA(c) \
{ \
  IlEnterCriticalEmgcCallTrigd_SA(); \
  SA_01.SA_01.EmgcCallTrigd_SA = (c); \
  IlLeaveCriticalEmgcCallTrigd_SA(); \
}
#endif

/* Handle:    9,Name:              EmgcCallFlrSts_SA,Size:  2,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
#define IlPutTxEmgcCallFlrSts_SA(c) \
{ \
  IlEnterCriticalEmgcCallFlrSts_SA(); \
  SA_01.SA_01.EmgcCallFlrSts_SA = (c); \
  IlLeaveCriticalEmgcCallFlrSts_SA(); \
}
#endif



/* -----------------------------------------------------------------------------
    &&&~ Set Tx Signal Access extern decl
 ----------------------------------------------------------------------------- */

/* Handle:    7,Name:           SA_PCTOOL_Res_Byte_7,Size:  8,UsedBytes:  1,SingleSignal */
#ifdef IL_ENABLE_TX
extern void IlPutTxSA_PCTOOL_Res_Byte_7(vuint8 sigData);
#endif




/* begin Fileversion check */
#ifndef SKIP_MAGIC_NUMBER
#ifdef MAGIC_NUMBER
  #if MAGIC_NUMBER != 362388152
      #error "The magic number of the generated file <C:\Data\Users\huo_h1\Documents\NIO_FORCE_VBOX-SVN\30_DevelopLibrary\03_SW\90_Others\CANbedded\NIO_Geny_Force_BTA_CAN_Draft_0_1\NIO_Geny_For_CanMatrix\Generate Files\il_par.h> is different. Please check time and date of generated files!"
  #endif
#else
  #define MAGIC_NUMBER 362388152
#endif  /* MAGIC_NUMBER */
#endif  /* SKIP_MAGIC_NUMBER */

/* end Fileversion check */

#endif /* __IL_PAR_H__ */
