2025-04-26 16:03:23 +08:00

398 lines
19 KiB
C

/**
******************************************************************************
* @file
* @author
* @version
* @date
* @brief
* @function List:
******************************************************************************
* @attention
*
*
* <h2><center>&copy; COPYRIGHT 2021 </center></h2>
******************************************************************************
* @History:
* @Author:
* @Data:
* @Version:
*/
#ifndef _COMPILER_CFG_H_
#define _COMPILER_CFG_H_
/*******************************************************************************
* BSW START
*******************************************************************************/
#define BSW_CODE
#define BSW_VAR_NOINIT
#define BSW_VAR_POWER_ON_INIT
#define BSW_VAR_FAST
#define BSW_VAR
#define BSW_CONST
#define BSW_APPL_CODE
#define BSW_APPL_CONST
#define BSW_APPL_DATA
#define BSW_CALLOUT_CODE
/*******************************************************************************
* BSW END
*******************************************************************************/
/*******************************************************************************
* CAN Communication Stack START
*******************************************************************************/
/*******************************************************************************
* CAN Driver START
*******************************************************************************/
#define CAN_PUBLIC_CODE /* API functions */
#define CAN_PUBLIC_CONST /* API constants */
#define CAN_PRIVATE_CODE /* Internal functions */
#define CAN_PRIVATE_DATA /* Module internal data */
#define CAN_PRIVATE_CONST /* Internal ROM Data */
#define CAN_APPL_CODE /* callbacks of the Application */
#define CAN_APPL_CONST /* Applications' ROM Data */
#define CAN_APPL_DATA /* Applications' RAM Data */
#define CAN_FAST_DATA /* 'Near' RAM Data */
#define CAN_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define CAN_CONFIG_DATA /* Config. dependent (reg. size) data */
#define CAN_INIT_DATA /* Data which is initialized during
Startup */
#define CAN_NOINIT_DATA /* Data which is not initialized during
Startup */
#define CAN_CONST /* Data Constants */
/*******************************************************************************
* CAN Driver END
*******************************************************************************/
/*******************************************************************************
* CAN Interface START
*******************************************************************************/
#define CANIF_PUBLIC_CODE /* API functions */
#define CANIF_PUBLIC_CONST /* API constants */
#define CANIF_PRIVATE_CODE /* Internal functions */
#define CANIF_PRIVATE_DATA /* Module internal data */
#define CANIF_PRIVATE_CONST /* Internal ROM Data */
#define CANIF_APPL_CODE /* callbacks of the Application */
#define CANIF_APPL_CONST /* Applications' ROM Data */
#define CANIF_APPL_DATA /* Applications' RAM Data */
#define CANIF_FAST_DATA /* 'Near' RAM Data */
#define CANIF_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define CANIF_CONFIG_DATA /* Config. dependent (reg. size) data*/
#define CANIF_INIT_DATA /* Data which is initialized during
Startup */
#define CANIF_NOINIT_DATA /* Data which is not initialized during
Startup */
#define CANIF_CONST /* Data Constants */
/*******************************************************************************
* CAN Interface END
*******************************************************************************/
/*******************************************************************************
* CCP START
*******************************************************************************/
#define CCP_PUBLIC_CODE /* API functions */
#define CCP_PUBLIC_CONST /* API constants */
#define CCP_PRIVATE_CODE /* Internal functions */
#define CCP_PRIVATE_DATA /* Module internal data */
#define CCP_PRIVATE_CONST /* Internal ROM Data */
#define CCP_APPL_CODE /* callbacks of the Application */
#define CCP_APPL_CONST /* Applications' ROM Data */
#define CCP_APPL_DATA /* Applications' RAM Data */
#define CCP_FAST_DATA /* 'Near' RAM Data */
#define CCP_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define CCP_CONFIG_DATA /* Config. dependent (reg. size) data */
#define CCP_INIT_DATA /* Data which is initialized during
Startup */
#define CCP_NOINIT_DATA /* Data which is not initialized during
Startup */
#define CCP_CONST /* Data Constants */
/*******************************************************************************
* CCP END
*******************************************************************************/
/*******************************************************************************
* CANTP START
*******************************************************************************/
#define CANTP_PUBLIC_CODE /* API functions */
#define CANTP_PUBLIC_CONST /* API constants */
#define CANTP_PRIVATE_CODE /* Internal functions */
#define CANTP_PRIVATE_DATA /* Module internal data */
#define CANTP_PRIVATE_CONST /* Internal ROM Data */
#define CANTP_APPL_CODE /* callbacks of the Application */
#define CANTP_APPL_CONST /* Applications' ROM Data */
#define CANTP_APPL_DATA /* Applications' RAM Data */
#define CANTP_FAST_DATA /* 'Near' RAM Data */
#define CANTP_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define CANTP_CONFIG_DATA /* Config. dependent (reg. size) data */
#define CANTP_INIT_DATA /* Data which is initialized during
Startup */
#define CANTP_NOINIT_DATA /* Data which is not initialized during
Startup */
#define CANTP_CONST /* Data Constants */
/*******************************************************************************
* CANTP END
*******************************************************************************/
/*******************************************************************************
* DCM START
*******************************************************************************/
#define DCM_CODE /* FOR CONFIG DOCUMENT */
#define DCM_VARIABLE /* FOR CONFIG DOCUMENT */
#define DCM_PUBLIC_CODE /* API functions */
#define DCM_PUBLIC_CONST /* API constants */
#define DCM_PRIVATE_CODE /* Internal functions */
#define DCM_PRIVATE_DATA /* Module internal data */
#define DCM_PRIVATE_CONST /* Internal ROM Data */
#define DCM_APPL_CODE /* callbacks of the Application */
#define DCM_APPL_CONST /* Applications' ROM Data */
#define DCM_APPL_DATA /* Applications' RAM Data */
#define DCM_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define DCM_CONFIG_DATA /* Config. dependent (reg. size) data */
#define DCM_INIT_DATA /* Data which is initialized during
Startup */
#define DCM_NOINIT_DATA /* Data which is not initialized during
Startup */
#define DCM_CONST /* Data Constants */
/*******************************************************************************
* DCM END
*******************************************************************************/
/*******************************************************************************
* DCM START
*******************************************************************************/
#define PDUR_CODE /* FOR CONFIG DOCUMENT */
#define PDUR_VARIABLE /* FOR CONFIG DOCUMENT */
#define PDUR_PUBLIC_CODE /* API functions */
#define PDUR_PUBLIC_CONST /* API constants */
#define PDUR_PRIVATE_CODE /* Internal functions */
#define PDUR_PRIVATE_DATA /* Module internal data */
#define PDUR_PRIVATE_CONST /* Internal ROM Data */
#define PDUR_APPL_CODE /* callbacks of the Application */
#define PDUR_APPL_CONST /* Applications' ROM Data */
#define PDUR_APPL_DATA /* Applications' RAM Data */
#define PDUR_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define PDUR_CONFIG_DATA /* Config. dependent (reg. size) data */
#define PDUR_INIT_DATA /* Data which is initialized during
Startup */
#define PDUR_NOINIT_DATA /* Data which is not initialized during
Startup */
#define PDUR_CONST /* Data Constants */
/*******************************************************************************
* DCM END
*******************************************************************************/
/*******************************************************************************
* COM START
*******************************************************************************/
#define COM_PUBLIC_CODE /* API functions */
#define COM_PUBLIC_CONST /* API constants */
#define COM_PRIVATE_CODE /* Internal functions */
#define COM_PRIVATE_DATA /* Module internal data */
#define COM_PRIVATE_CONST /* Internal ROM Data */
#define COM_APPL_CODE /* callbacks of the Application */
#define COM_APPL_CONST /* Applications' ROM Data */
#define COM_APPL_DATA /* Applications' RAM Data */
#define COM_FAST_DATA /* 'Near' RAM Data */
#define COM_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define COM_CONFIG_DATA /* Config. dependent (reg. size) data */
#define COM_INIT_DATA /* Data which is initialized during
Startup */
#define COM_NOINIT_DATA /* Data which is not initialized during
Startup */
//#define COM_CONST /* Data Constants 在 Com_Types.h己存在 */
#define COM_AUTOMOTIVE /* Automotive */
/*******************************************************************************
* COM END
*******************************************************************************/
/*******************************************************************************
* OSEKNM START
*******************************************************************************/
#define CANNM_VAR_NOINIT_FAST
#define CANNM_CODE
#define NM_APPL_VAR
#define NM_CODE
#define CANNM_APPL_VAR
#define CANNM_CONST
#define CANNM_PBCFG
#define CANNM_VAR_NOINIT
#define NM_CONST
/*******************************************************************************
* OSEKNM END
*******************************************************************************/
/*******************************************************************************
* CAN Communication Stack END
*******************************************************************************/
/*******************************************************************************
* LIN Communication Stack START
*******************************************************************************/
/*******************************************************************************
* LIN Driver START
*******************************************************************************/
#define LIN_PUBLIC_CODE /* API functions */
#define LIN_PUBLIC_CONST /* API constants */
#define LIN_PRIVATE_CODE /* Internal functions */
#define LIN_PRIVATE_DATA /* Module internal data */
#define LIN_PRIVATE_CONST /* Internal ROM Data */
#define LIN_APPL_CODE /* callbacks of the Application */
#define LIN_APPL_CONST /* Applications' ROM Data */
#define LIN_APPL_DATA /* Applications' RAM Data */
#define LIN_FAST_DATA /* 'Near' RAM Data */
#define LIN_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define LIN_CONFIG_DATA /* Config. dependent (reg. size) data */
#define LIN_INIT_DATA /* Data which is initialized during
Startup */
#define LIN_NOINIT_DATA /* Data which is not initialized during
Startup */
#define LIN_CONST /* Data Constants */
/*******************************************************************************
* LIN Driver END
*******************************************************************************/
/*******************************************************************************
* LIN Interface START
*******************************************************************************/
#define LINIF_PUBLIC_CODE /* API functions */
#define LINIF_PUBLIC_CONST /* API constants */
#define LINIF_PRIVATE_CODE /* Internal functions */
#define LINIF_PRIVATE_DATA /* Module internal data */
#define LINIF_PRIVATE_CONST /* Internal ROM Data */
#define LINIF_APPL_CODE /* callbacks of the Application */
#define LINIF_APPL_CONST /* Applications' ROM Data */
#define LINIF_APPL_DATA /* Applications' RAM Data */
#define LINIF_FAST_DATA /* 'Near' RAM Data */
#define LINIF_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define LINIF_CONFIG_DATA /* Config. dependent (reg. size) data*/
#define LINIF_INIT_DATA /* Data which is initialized during
Startup */
#define LINIF_NOINIT_DATA /* Data which is not initialized during
Startup */
#define LINIF_CONST /* Data Constants */
/*******************************************************************************
* LIN Interface END
*******************************************************************************/
/*******************************************************************************
* LIN Communication Stack END
*******************************************************************************/
/*******************************************************************************
* CAN Network Management START
*******************************************************************************/
#define CANNM_CODE
#define CANNM_VAR_NOINIT
#define CANNM_VAR_POWER_ON_INIT
#define CANNM_VAR_FAST
#define CANNM_VAR
#define CANNM_CONST
#define CANNM_APPL_CODE
#define CANNM_APPL_CONST
#define CANNM_APPL_DATA
#define CANNM_CALLOUT_CODE
/*******************************************************************************
* NVM START
*******************************************************************************/
#define NVM_CODE
#define NVM_VAR_NOINIT
#define NVM_VAR_POWER_ON_INIT
#define NVM_VAR_FAST
#define NVM_VAR
#define NVM_CONST
#define NVM_APPL_CODE
#define NVM_APPL_CONST
#define NVM_APPL_DATA
#define NVM_CALLOUT_CODE
/*******************************************************************************
* NVM END
*******************************************************************************/
/*******************************************************************************
* DEM START
*******************************************************************************/
#define DEM_CODE /* FOR CONFIG DOCUMENT */
#define DEM_VARIABLE /* FOR CONFIG DOCUMENT */
#define DEM_PUBLIC_CODE /* API functions */
#define DEM_PUBLIC_CONST /* API constants */
#define DEM_PRIVATE_CODE /* Internal functions */
#define DEM_PRIVATE_DATA /* Module internal data */
#define DEM_PRIVATE_CONST /* Internal ROM Data */
#define DEM_APPL_CODE /* callbacks of the Application */
#define DEM_APPL_CONST /* Applications' ROM Data */
#define DEM_APPL_DATA /* Applications' RAM Data */
#define DEM_CONFIG_CONST /* Desc. Tables -> Config-dependent */
#define DEM_CONFIG_DATA /* Config. dependent (reg. size) data */
#define DEM_INIT_DATA /* Data which is initialized during
Startup */
#define DEM_NOINIT_DATA /* Data which is not initialized during
Startup */
#define DEM_CONST /* Data Constants */
/*******************************************************************************
* DEM END
*******************************************************************************/
#endif/* _COMPILER_CFG_H_ */