add
This commit is contained in:
@@ -0,0 +1,467 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Can_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CanRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\can\sample_application\V4H\19_11\config\App_CAN_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\can\generator\V4H\R1911_CAN_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_CAN_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\EcuM\xml\EcuM_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:38
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CAN_CFG_H
|
||||
#define CAN_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "ComStack_Types.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. */
|
||||
/* 'CanConf_CanController_CanController') within the */
|
||||
/* specified number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4, CERTCCM DCL23 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* Autosar Release Version Information. */
|
||||
#define CAN_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CAN_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CAN_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File Version Information. */
|
||||
#define CAN_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CAN_CFG_SW_MINOR_VERSION 2U
|
||||
#define CAN_AR_VERSION CAN_AR_1911_VERSION
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CAN_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CAN_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CAN_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define CAN_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CAN_SW_MINOR_VERSION_VALUE 2U
|
||||
#define CAN_SW_PATCH_VERSION_VALUE 0U
|
||||
#define CAN_VENDOR_ID_VALUE 59U
|
||||
#define CAN_MODULE_ID_VALUE 80U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile macro for V4H device */
|
||||
#define CAN_V4H_PROC
|
||||
|
||||
/* Pre-compile option for DEM for CAN Driver for Time out value */
|
||||
#define CAN_E_TIMEOUT_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
|
||||
#define CAN_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter_001
|
||||
|
||||
/* Pre-compile option for Set baudrate API */
|
||||
#define CAN_SET_BAUDRATE_API STD_ON
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define CAN_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define CAN_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for allowing re-initialization with Can_Init API. */
|
||||
#define CAN_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Critical Section Protection */
|
||||
#define CAN_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for External Module Version Check */
|
||||
#define CAN_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Enables/Disables the unintended interrupt check in the ISRs */
|
||||
#define CAN_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for public Icom support */
|
||||
#define CAN_PUBLIC_ICOM_SUPPORT STD_ON
|
||||
|
||||
/* Enables/Disables the Error Correct Code safety mechanism. */
|
||||
#define CAN_ECC_ERROR_CORRECT STD_ON
|
||||
|
||||
/* Enables/Disables the macro CAN_CR52_PROC for specific device */
|
||||
#define CAN_CR52_PROC STD_ON
|
||||
|
||||
/* Pre-compile option for Number of configured Can Module. */
|
||||
#define CAN_NO_OF_UNITS 1U
|
||||
|
||||
/* Pre-compile option for Maximum number of Controllers */
|
||||
#define CAN_MAX_NUMBER_OF_CONTROLLER (uint8)2
|
||||
|
||||
/* Pre-compile option for Os Counter ID */
|
||||
#define CAN_OS_COUNTER_ID OsCounter
|
||||
|
||||
/* Pre-compile option for Number of configured hardware object handles */
|
||||
#define CAN_NO_OF_HOHS 4U
|
||||
|
||||
/* Pre-compile number of CanIcom configuration */
|
||||
#define CAN_ICOM_NOCONFIG 1U
|
||||
|
||||
/* Controller ID offset */
|
||||
#define CAN_CONTROLLER_OFFSET 0U
|
||||
|
||||
/* Pre-compile option for Can_CheckWakeup API */
|
||||
#define CAN_CHECK_WAKEUP_API STD_OFF
|
||||
|
||||
/* Pre-compile option for Change baudrate API */
|
||||
#define CAN_CHANGE_BAUDRATE_API STD_OFF
|
||||
|
||||
/* Pre-compile option for RSCANFDn handling */
|
||||
#define CAN_RSCANFD_CONFIGURED STD_ON
|
||||
|
||||
/* Pre-compile option for RSCANn handling */
|
||||
#define CAN_RSCAN_CONFIGURED STD_OFF
|
||||
|
||||
/* Pre-compile option for Can Wakeup Support */
|
||||
#define CAN_WAKEUP_SUPPORT STD_OFF
|
||||
|
||||
/* Pre-compile option for name of callout function */
|
||||
#define CAN_LPDU_RECEIVE_CALLOUT_FUNCTION UserCalloutFunction
|
||||
|
||||
/* Pre-compile option for Wakeup Interrupt */
|
||||
#define CAN_WAKEUP_POLLING STD_ON
|
||||
|
||||
/* Pre-compile option for Busoff Interrupt */
|
||||
#define CAN_BUSOFF_POLLING STD_ON
|
||||
|
||||
/* Pre-compile option for Rx Interrupt */
|
||||
#define CAN_RX_POLLING STD_ON
|
||||
|
||||
/* Pre-compile option for Tx Interrupt */
|
||||
#define CAN_TX_POLLING STD_ON
|
||||
|
||||
/* Pre-compile option for Receive BUFFER is configured */
|
||||
#define CAN_RX_BUFFER STD_ON
|
||||
|
||||
/* Pre-compile option for Transmit BUFFER is configured */
|
||||
#define CAN_TX_BUFFER STD_ON
|
||||
|
||||
/* Pre-compile option for Receive FIFO is configured */
|
||||
#define CAN_RX_FIFO STD_OFF
|
||||
|
||||
/* Pre-compile option for Receive FIFO is configured in Tx/RX FIFO */
|
||||
#define CAN_RX_COMFIFO STD_ON
|
||||
|
||||
/* Pre-compile option for Transmit FIFO is configured in Tx/RX FIFO */
|
||||
#define CAN_TX_COMFIFO STD_OFF
|
||||
|
||||
/* Pre-compile option for GATEWAY is configured in Tx/RX FIFO */
|
||||
#define CAN_GATEWAY_COMFIFO STD_OFF
|
||||
|
||||
/* Pre-compile option for Transmit QUEUE is configured */
|
||||
#define CAN_TX_QUEUE STD_OFF
|
||||
|
||||
/* Pre-compile option for GATEWAY is configured in Transmit QUEUE */
|
||||
#define CAN_GATEWAY_QUEUE STD_OFF
|
||||
|
||||
/* Pre-compile option for Receive Object is configured */
|
||||
#define CAN_RX_OBJECT STD_ON
|
||||
|
||||
/* The number of main function periods used */
|
||||
#define CAN_NUMBER_OF_MAINFUNCTIONS 1U
|
||||
|
||||
/* Pre-compile option for trigger transmit function is configured */
|
||||
#define CAN_TRIGGER_TRANSMIT_FUNCTION STD_OFF
|
||||
|
||||
/* CAT2 ISR category using */
|
||||
#define CAN_ISR_CATEGORY_2 STD_OFF
|
||||
|
||||
/* Enables/Disables the interrupt consistency check in the ISRs */
|
||||
#define CAN_INTERRUPT_CONSISTENCY_CHECK STD_OFF
|
||||
|
||||
/* Enables/Disables the Wakeup Factor Clear in the ISR */
|
||||
#define CAN_WAKE_UP_FACTOR_CLEAR_ISR STD_OFF
|
||||
|
||||
/* Enables/Disables Virtual Machine in the ISR */
|
||||
#define CAN_VIRTUAL_MACHINE_ENABLE STD_OFF
|
||||
|
||||
/* Enables/Disables hardware for FFI mode */
|
||||
#define CAN_ACCESS_HW_ENABLE STD_ON
|
||||
|
||||
/* Enables/Disables Can RAM test API */
|
||||
#define CAN_RAMTEST_API STD_ON
|
||||
|
||||
/* Enables/Disables Can Self Test API */
|
||||
#define CAN_SELFTEST_API STD_ON
|
||||
|
||||
/* Can Maximum RAM Pages Hardware */
|
||||
#define CAN_MAX_RAMPAGES_HARDWARE 868U
|
||||
|
||||
/* Pre-compile option for Can Time Sync Capture feature */
|
||||
#define CAN_TIME_SYNC_CAPTURE_EN STD_OFF
|
||||
|
||||
/* Pre-compile option for IcomPayloadLengthError */
|
||||
#define CAN_ICOM_PAYLOAD_LENGTH_ERROR_SUPPORT STD_ON
|
||||
|
||||
/* Pre-compile option for name of ICOM callout function */
|
||||
#define CAN_ICOM_CALLOUT_FUNCTION Can_IcomCallOut
|
||||
|
||||
/* Pre-compile option for Timeout Count */
|
||||
#define CAN_TIMEOUT_COUNT 10000U
|
||||
|
||||
/* Pre-compile option for OS Counter Max Value */
|
||||
#define CAN_OS_COUNTER_MAX_VALUE 4294967295U
|
||||
|
||||
/* maximum value of all number configured CanIcomRxMessage */
|
||||
#define CAN_ICOM_MAX_CONFIGURED_RX_MSG (uint8)3
|
||||
|
||||
/* Pre-compile option for hardware unit configured */
|
||||
#define CAN_PHYIDX_UNIT0 0U
|
||||
|
||||
/* Pre-compile option for Rx FIFO Interrupt */
|
||||
#define CAN_RSCAN0_RXFIFO_INTERRUPT STD_OFF
|
||||
#define CAN_RSCAN1_RXFIFO_INTERRUPT STD_OFF
|
||||
|
||||
/* Pre-compile option for Global Error Interrupt */
|
||||
|
||||
/* Pre-compile option for Busoff Interrupt */
|
||||
#define CAN_CONTROLLER0_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER1_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER2_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER3_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER4_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER5_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER6_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER7_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER8_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER9_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER10_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER11_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER12_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER13_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER14_BUSOFF_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER15_BUSOFF_INTERRUPT STD_OFF
|
||||
|
||||
/* Pre-compile option for Wakeup Interrupt */
|
||||
#define CAN_CONTROLLER0_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER1_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER2_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER3_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER4_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER5_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER6_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER7_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER8_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER9_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER10_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER11_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER12_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER13_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER14_WAKEUP_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER15_WAKEUP_INTERRUPT STD_OFF
|
||||
|
||||
/* Pre-compile option for Rx Interrupt */
|
||||
#define CAN_CONTROLLER0_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER1_RX_INTERRUPT STD_ON
|
||||
#define CAN_CONTROLLER2_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER3_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER4_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER5_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER6_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER7_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER8_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER9_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER10_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER11_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER12_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER13_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER14_RX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER15_RX_INTERRUPT STD_OFF
|
||||
|
||||
/* Pre-compile option for Tx Interrupt */
|
||||
#define CAN_CONTROLLER0_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER1_TX_INTERRUPT STD_ON
|
||||
#define CAN_CONTROLLER2_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER3_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER4_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER5_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER6_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER7_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER8_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER9_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER10_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER11_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER12_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER13_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER14_TX_INTERRUPT STD_OFF
|
||||
#define CAN_CONTROLLER15_TX_INTERRUPT STD_OFF
|
||||
|
||||
/* Pre-compile option for Rx VM Interrupt */
|
||||
#define CAN_VM0_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM1_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM2_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM3_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM4_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM5_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM6_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM7_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM8_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM9_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM10_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM11_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM12_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM13_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM14_RX_INTERRUPT STD_OFF
|
||||
#define CAN_VM15_RX_INTERRUPT STD_OFF
|
||||
|
||||
/* Pre-compile option for Tx VM Interrupt */
|
||||
#define CAN_VM0_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM1_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM2_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM3_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM4_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM5_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM6_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM7_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM8_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM9_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM10_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM11_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM12_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM13_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM14_TX_INTERRUPT STD_OFF
|
||||
#define CAN_VM15_TX_INTERRUPT STD_OFF
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* CAN Controller Configuration Handle */
|
||||
#define CanConf_CanController_CanController0 (uint8)0
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CanConf_CanController_CanController1 (uint8)1
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* Hardware Objects Configuration Handle */
|
||||
#define CanConf_CanHardwareObject_CanHardwareObject0 (Can_HwHandleType)0
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CanConf_CanHardwareObject_CanHardwareObject1 (Can_HwHandleType)1
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CanConf_CanHardwareObject_CanHardwareObject2 (Can_HwHandleType)2
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CanConf_CanHardwareObject_CanHardwareObject3 (Can_HwHandleType)3
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* Configuration Set Handles */
|
||||
#define Can_Config (&Can_GaaConfig[0])
|
||||
|
||||
|
||||
#endif /* CAN_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,395 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Can_Lcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains link time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CanRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\can\sample_application\V4H\19_11\config\App_CAN_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\can\generator\V4H\R1911_CAN_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_CAN_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\EcuM\xml\EcuM_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:38
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
/* CAN Post Build configuration header */
|
||||
/* MISRA Violation: START Msg(2:0857)-2 */
|
||||
#include "Can.h"
|
||||
#include "Can_LTTypes.h"
|
||||
/* END Msg(2:0857)-2 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. */
|
||||
/* 'CanConf_CanController_CanController') within the */
|
||||
/* specified number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4, CERTCCM DCL23 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0857) [L] Number of macro definitions exceeds 1024 - */
|
||||
/* program does not conform strictly to ISO:C90. */
|
||||
/* Rule : MISRA-C:2012 Dir-1.1 */
|
||||
/* Justification : The number of macro depend on module code size. There is */
|
||||
/* no issue when number of macro is over 1024 */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0857)-2 and */
|
||||
/* END Msg(2:0857)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2012 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-3 and */
|
||||
/* END Msg(4:5087)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0303) Cast between a pointer to volatile object and an */
|
||||
/* integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule-11.4, CERTCCM INT36, CWE-398, CWE-569 */
|
||||
/* Justification : Typecasting is done as per the register size, */
|
||||
/* to access hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0303)-4 and */
|
||||
/* END Msg(2:0303)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 5. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1531) The object '%s' is referenced in only one */
|
||||
/* translation unit - but not the one in which it is defined. */
|
||||
/* Rule : MISRA-C:2012 Rule-8.7, CERTCCM DCL15, DCL19, CWE-398, */
|
||||
/* CWE-569. */
|
||||
/* Justification : Followed coding rules, the objects (global variable/const) */
|
||||
/* is define in separated source file, */
|
||||
/* so this could be accepted */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1531)-5 and */
|
||||
/* END Msg(1:1531)-5 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 6. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3432) Simple macro argument expression is not */
|
||||
/* parenthesized. */
|
||||
/* Rule : MISRA-C:2012 Rule-20.7, CWE-398, CWE-569 */
|
||||
/* Justification : Compiler keyword (macro) is defined and used followed */
|
||||
/* AUTOSAR standard rule. It is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3432)-6 and */
|
||||
/* END Msg(2:3432)-6 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* Autosar Release Version Information */
|
||||
#define CAN_LCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CAN_LCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CAN_LCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File Version Information */
|
||||
#define CAN_LCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define CAN_LCFG_C_SW_MINOR_VERSION 2U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (CAN_LTTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
CAN_LCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Can_Lcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_LTTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
CAN_LCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Can_Lcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_LTTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
CAN_LCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Can_Lcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_LTTYPES_SW_MAJOR_VERSION != CAN_LCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Can_Lcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_LTTYPES_SW_MINOR_VERSION != CAN_LCFG_C_SW_MINOR_VERSION)
|
||||
#error "Can_Lcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CAN_RSCAN_START_SEC_CONFIG_DATA_8
|
||||
/* END Msg(7:0791)-1 */
|
||||
#include "Can_MemMap.h"
|
||||
|
||||
|
||||
|
||||
/* Table to acquire index of config table from physical controller number */
|
||||
/* MISRA Violation: START Msg(1:1531)-3 */
|
||||
CONST(uint8, CAN_RSCAN_CONST) Can_GaaPhysicalControllerToIndex0[] =
|
||||
{
|
||||
/* Index 0 */
|
||||
0x00U,
|
||||
|
||||
/* Index 1 */
|
||||
0x01U
|
||||
};
|
||||
/* END Msg(1:1531)-3 */
|
||||
|
||||
|
||||
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CAN_RSCAN_STOP_SEC_CONFIG_DATA_8
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Can_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
#define CAN_RSCAN_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Can_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
/* Global array for ControllerConfigType structure */
|
||||
/* MISRA Violation: START Msg(1:1531)-5 */
|
||||
CONST(Can_ControllerPCConfigType, CAN_CONFIG_DATA) Can_GaaControllerPCConfig0[]
|
||||
=
|
||||
{
|
||||
/* Index: 0 - CanController0 */
|
||||
{
|
||||
/* blActivation */
|
||||
CAN_TRUE,
|
||||
|
||||
/* ucUnit */
|
||||
0x00U,
|
||||
|
||||
/* ucCh */
|
||||
0x00U,
|
||||
|
||||
/* ucIntEnable */
|
||||
CAN_INT_DISABLED,
|
||||
|
||||
/* ulCTR */
|
||||
CAN_RSCAN_BOM_HALT_BUSOFF_ENTRY,
|
||||
|
||||
/* ulTHLCC */
|
||||
CAN_RSCAN_THLDTE,
|
||||
|
||||
/* pICRec */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint16, AUTOMATIC, REGSPACE))0xF1000134UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pICTx */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint16, AUTOMATIC, REGSPACE))0xF1000134UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pICErr */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint16, AUTOMATIC, REGSPACE))0xF1000134UL
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
},
|
||||
/* Index: 1 - CanController1 */
|
||||
{
|
||||
/* blActivation */
|
||||
CAN_TRUE,
|
||||
|
||||
/* ucUnit */
|
||||
0x00U,
|
||||
|
||||
/* ucCh */
|
||||
0x01U,
|
||||
|
||||
/* ucIntEnable */
|
||||
CAN_CHECK_INT_TX |
|
||||
CAN_CHECK_INT_RX,
|
||||
|
||||
/* ulCTR */
|
||||
CAN_RSCAN_BOM_HALT_BUSOFF_ENTRY,
|
||||
|
||||
/* ulTHLCC */
|
||||
CAN_RSCAN_THLDTE,
|
||||
|
||||
/* pICRec */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint16, AUTOMATIC, REGSPACE))0xF1000134UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pICTx */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint16, AUTOMATIC, REGSPACE))0xF1000134UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pICErr */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint16, AUTOMATIC, REGSPACE))0xF1000134UL
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1531)-5 */
|
||||
|
||||
/* Register Address Configuration */
|
||||
CONST(Can_RegisterSetType, CAN_CONFIG_DATA) Can_GaaRegs[] =
|
||||
{
|
||||
/* Index: 0 - RSCANFD0 */
|
||||
{
|
||||
/* enMacroType */
|
||||
CAN_MACRO_RSCANFD,
|
||||
|
||||
/* pCmn */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile Can_CommonRegType, AUTOMATIC, REGSPACE))0xE6660000UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pRR */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile Can_RRuleRegType, AUTOMATIC, REGSPACE))0xE6661800UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pFD */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile Can_FDRegType, AUTOMATIC, REGSPACE))0xE6661400UL,
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
|
||||
/* pEC710CTLReg */
|
||||
/* MISRA Violation: START Msg(2:0303)-4 */
|
||||
/* MISRA Violation: START Msg(2:3432)-6 */
|
||||
(P2VAR(volatile uint32, AUTOMATIC, REGSPACE))0xE66C8000UL
|
||||
/* END Msg(2:3432)-6 */
|
||||
/* END Msg(2:0303)-4 */
|
||||
}
|
||||
};
|
||||
|
||||
#define CAN_RSCAN_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Can_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,786 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Can_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post-build time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CanRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\can\sample_application\V4H\19_11\config\App_CAN_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\can\generator\V4H\R1911_CAN_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_CAN_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\EcuM\xml\EcuM_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_Can.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:38
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
/* CAN Post Build configuration header */
|
||||
/* MISRA Violation: START Msg(2:0857)-2 */
|
||||
#include "Can.h"
|
||||
#include "Can_PBTypes.h"
|
||||
/* END Msg(2:0857)-2 */
|
||||
#include "Can_LTTypes.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0315) [I] Implicit conversion from a pointer to */
|
||||
/* object type to a pointer to void. */
|
||||
/* Rule : MISRA-C:2012 Dir-1.1, CWE-188, CWE-398, CWE-569 */
|
||||
/* Justification : Typecasting is done as per the register size, */
|
||||
/* to access hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0315)-1 and */
|
||||
/* END Msg(2:0315)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0857) [L] Number of macro definitions exceeds 1024 */
|
||||
/* - program does not conform strictly to ISO:C90. */
|
||||
/* Rule : MISRA-C:2012 Dir-1.1 */
|
||||
/* Justification : The number of macro depend on module code size. There is */
|
||||
/* no issue when number of macro is over 1024. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0857)-2 and */
|
||||
/* END Msg(2:0857)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2012 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, (MEMMAP003 - */
|
||||
/* Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-3 and */
|
||||
/* END Msg(4:5087)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1502) The object '%1s' is defined but */
|
||||
/* is not used within this project. */
|
||||
/* Rule : MISRA C:2012 Rule-2.8, CWE Rule CWE-398, CWE-569, */
|
||||
/* CERTC Rule MSC13 */
|
||||
/* Justification : Array is used in another part of driver code. */
|
||||
/* There is no problem in use */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1502)-4 and */
|
||||
/* END Msg(1:1502)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* Autosar Release Version Information */
|
||||
#define CAN_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CAN_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CAN_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File Version Information */
|
||||
#define CAN_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define CAN_PBCFG_C_SW_MINOR_VERSION 2U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (CAN_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
CAN_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Can_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
CAN_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Can_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
CAN_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Can_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_PBTYPES_SW_MAJOR_VERSION != CAN_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Can_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (CAN_PBTYPES_SW_MINOR_VERSION != CAN_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "Can_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
#define CAN_RSCAN_START_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
#include "Can_MemMap.h"
|
||||
|
||||
|
||||
|
||||
static CONST(uint32, CAN_RSCAN_CONFIG_DATA) Can_GaaGAFLCFGConfig00[] =
|
||||
{
|
||||
/* Index 0 */
|
||||
0x00020001UL,
|
||||
|
||||
/* Index 1 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 2 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 3 */
|
||||
0x00000000UL
|
||||
};
|
||||
static CONST(uint32, CAN_RSCAN_CONFIG_DATA) Can_GaaTMIEConfig00[] =
|
||||
{
|
||||
/* Index 0 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 1 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 2 */
|
||||
0x00000001UL,
|
||||
|
||||
/* Index 3 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 4 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 5 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 6 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 7 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 8 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 9 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 10 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 11 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 12 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 13 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 14 */
|
||||
0x00000000UL,
|
||||
|
||||
/* Index 15 */
|
||||
0x00000000UL
|
||||
};
|
||||
#define CAN_RSCAN_STOP_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Can_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
#define CAN_RSCAN_START_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Can_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
/* Array for Baudrate Configuration */
|
||||
STATIC CONST(Can_BaudrateConfigType, CAN_CONFIG_DATA) Can_GaaBaudrateConfig00[]
|
||||
=
|
||||
{
|
||||
/* Index: 0 - CanControllerBaudrateConfig0 */
|
||||
{
|
||||
/* usBaudrateConfigID */
|
||||
0x0000U,
|
||||
|
||||
/* ulCFG */
|
||||
CAN_RSCAN_NSJW(1) | CAN_RSCAN_NTSEG1(13) | CAN_RSCAN_NTSEG2(6) |
|
||||
CAN_RSCAN_NBRP(7),
|
||||
|
||||
/* ulDCFG */
|
||||
CAN_RSCAN_SJW(1) | CAN_RSCAN_TSEG1(13) | CAN_RSCAN_TSEG2(6) |
|
||||
CAN_RSCAN_BRP(7),
|
||||
|
||||
/* ulFDCFG */
|
||||
0UL,
|
||||
|
||||
/* blBRS */
|
||||
CAN_TRUE,
|
||||
|
||||
/* blFdConfigured */
|
||||
CAN_TRUE
|
||||
},
|
||||
/* Index: 1 - CanControllerBaudrateConfig1 */
|
||||
{
|
||||
/* usBaudrateConfigID */
|
||||
0x0001U,
|
||||
|
||||
/* ulCFG */
|
||||
CAN_RSCAN_NSJW(1) | CAN_RSCAN_NTSEG1(13) | CAN_RSCAN_NTSEG2(6) |
|
||||
CAN_RSCAN_NBRP(3),
|
||||
|
||||
/* ulDCFG */
|
||||
CAN_RSCAN_SJW(1) | CAN_RSCAN_TSEG1(13) | CAN_RSCAN_TSEG2(6) |
|
||||
CAN_RSCAN_BRP(3),
|
||||
|
||||
/* ulFDCFG */
|
||||
0UL,
|
||||
|
||||
/* blBRS */
|
||||
CAN_FALSE,
|
||||
|
||||
/* blFdConfigured */
|
||||
CAN_FALSE
|
||||
}
|
||||
};
|
||||
|
||||
STATIC CONST(Can_BaudrateConfigType, CAN_CONFIG_DATA) Can_GaaBaudrateConfig01[]
|
||||
=
|
||||
{
|
||||
/* Index: 0 - CanControllerBaudrateConfig0 */
|
||||
{
|
||||
/* usBaudrateConfigID */
|
||||
0x0000U,
|
||||
|
||||
/* ulCFG */
|
||||
CAN_RSCAN_NSJW(1) | CAN_RSCAN_NTSEG1(13) | CAN_RSCAN_NTSEG2(6) |
|
||||
CAN_RSCAN_NBRP(7),
|
||||
|
||||
/* ulDCFG */
|
||||
CAN_RSCAN_SJW(1) | CAN_RSCAN_TSEG1(13) | CAN_RSCAN_TSEG2(6) |
|
||||
CAN_RSCAN_BRP(7),
|
||||
|
||||
/* ulFDCFG */
|
||||
0UL,
|
||||
|
||||
/* blBRS */
|
||||
CAN_FALSE,
|
||||
|
||||
/* blFdConfigured */
|
||||
CAN_FALSE
|
||||
},
|
||||
/* Index: 1 - CanControllerBaudrateConfig1 */
|
||||
{
|
||||
/* usBaudrateConfigID */
|
||||
0x0001U,
|
||||
|
||||
/* ulCFG */
|
||||
CAN_RSCAN_NSJW(1) | CAN_RSCAN_NTSEG1(13) | CAN_RSCAN_NTSEG2(6) |
|
||||
CAN_RSCAN_NBRP(3),
|
||||
|
||||
/* ulDCFG */
|
||||
CAN_RSCAN_SJW(1) | CAN_RSCAN_TSEG1(13) | CAN_RSCAN_TSEG2(6) |
|
||||
CAN_RSCAN_BRP(3),
|
||||
|
||||
/* ulFDCFG */
|
||||
0UL,
|
||||
|
||||
/* blBRS */
|
||||
CAN_TRUE,
|
||||
|
||||
/* blFdConfigured */
|
||||
CAN_TRUE
|
||||
}
|
||||
};
|
||||
|
||||
/* Array for Controller Configuration (Post-build time) */
|
||||
STATIC CONST(Can_ControllerPBConfigType, CAN_CONFIG_DATA)
|
||||
Can_GaaControllerPBConfig0[] =
|
||||
{
|
||||
/* Index: 0 - CanController0 */
|
||||
{
|
||||
/* ucMainFunctionWIndex */
|
||||
0U,
|
||||
|
||||
/* usNoOfBaudrate */
|
||||
0x0002U,
|
||||
|
||||
/* pBaudrateConfig */
|
||||
&Can_GaaBaudrateConfig00[0]
|
||||
},
|
||||
/* Index: 1 - CanController1 */
|
||||
{
|
||||
/* ucMainFunctionWIndex */
|
||||
0U,
|
||||
|
||||
/* usNoOfBaudrate */
|
||||
0x0002U,
|
||||
|
||||
/* pBaudrateConfig */
|
||||
&Can_GaaBaudrateConfig01[0]
|
||||
}
|
||||
};
|
||||
|
||||
/* Array for Hardware Object Handle */
|
||||
STATIC CONST(Can_HohConfigType, CAN_CONFIG_DATA) Can_GaaHohConfig0[] =
|
||||
{
|
||||
/* Index: 0 - CanHardwareObject0 -> RXBUFFER[0] */
|
||||
{
|
||||
/* enHoh */
|
||||
CAN_HOH_HRH,
|
||||
|
||||
/* ucMainFunctionRIndex */
|
||||
0U,
|
||||
|
||||
/* ucController */
|
||||
0x00U,
|
||||
|
||||
/* ucTMDLC */
|
||||
0x00U,
|
||||
|
||||
/* usHohId */
|
||||
0x0000U,
|
||||
|
||||
/* enBufferType */
|
||||
CAN_BUFFERTYPE_BUFFER,
|
||||
|
||||
/* usBufferIndex */
|
||||
0x0000U,
|
||||
|
||||
/* ucPaddingValue */
|
||||
0x00U,
|
||||
|
||||
/* ulXXCCRegValue */
|
||||
0UL,
|
||||
|
||||
/* ulXXCCERegValue */
|
||||
0UL,
|
||||
|
||||
/* blObjectUsesPolling */
|
||||
CAN_FALSE
|
||||
},
|
||||
/* Index: 1 - CanHardwareObject1 -> TXRXBUFFER(RX)[3] */
|
||||
{
|
||||
/* enHoh */
|
||||
CAN_HOH_HRH,
|
||||
|
||||
/* ucMainFunctionRIndex */
|
||||
0U,
|
||||
|
||||
/* ucController */
|
||||
0x01U,
|
||||
|
||||
/* ucTMDLC */
|
||||
0x00U,
|
||||
|
||||
/* usHohId */
|
||||
0x0001U,
|
||||
|
||||
/* enBufferType */
|
||||
CAN_BUFFERTYPE_TXRXFIFO,
|
||||
|
||||
/* usBufferIndex */
|
||||
0x0003U,
|
||||
|
||||
/* ucPaddingValue */
|
||||
0x00U,
|
||||
|
||||
/* ulXXCCRegValue */
|
||||
CAN_RSCAN_CFM_RX |
|
||||
CAN_RSCAN_CFIM | CAN_RSCAN_CFRXIE |
|
||||
CAN_RSCAN_CFDC_4 | CAN_RSCAN_CFPLS_8,
|
||||
|
||||
/* ulXXCCERegValue */
|
||||
0UL,
|
||||
|
||||
/* blObjectUsesPolling */
|
||||
CAN_FALSE
|
||||
},
|
||||
/* Index: 2 - CanHardwareObject2 -> TXBUFFER[0] */
|
||||
{
|
||||
/* enHoh */
|
||||
CAN_HOH_HTH,
|
||||
|
||||
/* ucMainFunctionRIndex */
|
||||
0U,
|
||||
|
||||
/* ucController */
|
||||
0x00U,
|
||||
|
||||
/* ucTMDLC */
|
||||
0x40U,
|
||||
|
||||
/* usHohId */
|
||||
0x0002U,
|
||||
|
||||
/* enBufferType */
|
||||
CAN_BUFFERTYPE_BUFFER,
|
||||
|
||||
/* usBufferIndex */
|
||||
0x0000U,
|
||||
|
||||
/* ucPaddingValue */
|
||||
0x00U,
|
||||
|
||||
/* ulXXCCRegValue */
|
||||
0UL,
|
||||
|
||||
/* ulXXCCERegValue */
|
||||
0UL,
|
||||
|
||||
/* blObjectUsesPolling */
|
||||
CAN_FALSE
|
||||
},
|
||||
/* Index: 3 - CanHardwareObject3 -> TXBUFFER[64] */
|
||||
{
|
||||
/* enHoh */
|
||||
CAN_HOH_HTH,
|
||||
|
||||
/* ucMainFunctionRIndex */
|
||||
0U,
|
||||
|
||||
/* ucController */
|
||||
0x01U,
|
||||
|
||||
/* ucTMDLC */
|
||||
0x40U,
|
||||
|
||||
/* usHohId */
|
||||
0x0003U,
|
||||
|
||||
/* enBufferType */
|
||||
CAN_BUFFERTYPE_BUFFER,
|
||||
|
||||
/* usBufferIndex */
|
||||
0x0040U,
|
||||
|
||||
/* ucPaddingValue */
|
||||
0x00U,
|
||||
|
||||
/* ulXXCCRegValue */
|
||||
0UL,
|
||||
|
||||
/* ulXXCCERegValue */
|
||||
0UL,
|
||||
|
||||
/* blObjectUsesPolling */
|
||||
CAN_FALSE
|
||||
}
|
||||
};
|
||||
|
||||
/* Array for Acceptance Filter Receive Rule Configuration */
|
||||
STATIC CONST(Can_FilterType, CAN_CONFIG_DATA) Can_GaaFilterConfig0[] =
|
||||
{
|
||||
/* Index: 0 - CanHardwareObject0/CanHwFilter: RSCANFD00 -> RXBUFFER[0] */
|
||||
{
|
||||
/* ulGAFLID */
|
||||
0x00000100UL,
|
||||
|
||||
/* ulGAFLM */
|
||||
0xC00007FFUL,
|
||||
|
||||
/* aaGAFLP */
|
||||
{
|
||||
CAN_RSCAN_GAFLRMV |
|
||||
CAN_RSCAN_GAFLRMDP(0) |
|
||||
CAN_RSCAN_GAFLDLC_0,
|
||||
0UL
|
||||
}
|
||||
},
|
||||
/* Index: 1 - CanHardwareObject0/CanHwFilter_001: RSCANFD00 -> RXBUFFER[0] */
|
||||
{
|
||||
/* ulGAFLID */
|
||||
0x00000101UL,
|
||||
|
||||
/* ulGAFLM */
|
||||
0xC00007FFUL,
|
||||
|
||||
/* aaGAFLP */
|
||||
{
|
||||
CAN_RSCAN_GAFLRMV |
|
||||
CAN_RSCAN_GAFLRMDP(0) |
|
||||
CAN_RSCAN_GAFLDLC_0,
|
||||
0UL
|
||||
}
|
||||
},
|
||||
/* Index: 2 - CanHardwareObject1/CanHwFilter: RSCANFD01 -> TXRXFIFO[3] */
|
||||
{
|
||||
/* ulGAFLID */
|
||||
0x00000068UL,
|
||||
|
||||
/* ulGAFLM */
|
||||
0xC00007FFUL,
|
||||
|
||||
/* aaGAFLP */
|
||||
{
|
||||
CAN_RSCAN_GAFLDLC_0,
|
||||
CAN_RSCAN_GAFLFDP_TXRXFIFO(3)
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/* Array for Can Hardware Configuration Table */
|
||||
STATIC CONST(Can_HWUnitInfoType, CAN_CONFIG_DATA) Can_GaaHWUnitInfo0[] =
|
||||
{
|
||||
/* Index: 0 - Registers for RSCAN unit 0 */
|
||||
{
|
||||
/* ucNoOfTMIEC */
|
||||
0x10U,
|
||||
|
||||
/* ucNoOfGAFLCFG */
|
||||
0x04U,
|
||||
|
||||
/* usNoOfFilters */
|
||||
0x0003U,
|
||||
|
||||
/* ulRMNB */
|
||||
0x00000001UL,
|
||||
|
||||
/* ulGCFG */
|
||||
CAN_RSCAN_ITRCP(8) |
|
||||
CAN_RSCAN_DCE,
|
||||
|
||||
/* pGAFLCFG */
|
||||
&Can_GaaGAFLCFGConfig00[0],
|
||||
|
||||
/* pTMIEC */
|
||||
&Can_GaaTMIEConfig00[0],
|
||||
|
||||
/* pFilterConfig */
|
||||
&Can_GaaFilterConfig0[0]
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/* Global array for Icom Rx message Config Structure */
|
||||
STATIC CONST(Can_IcomRxMsgType, CAN_CONFIG_DATA) Can_GaaIcomRxMsgConfig1[] =
|
||||
{
|
||||
/* Index: 0 - CanIcomRxMessage */
|
||||
{
|
||||
/* pIcomRxMessageSignal */
|
||||
NULL_PTR,
|
||||
|
||||
/* ulMsgIdMask */
|
||||
0x000007FFUL,
|
||||
|
||||
/* ulMsgIdCode */
|
||||
0x00000111UL,
|
||||
|
||||
/* ulCounterValue */
|
||||
0x00000002UL,
|
||||
|
||||
/* blPayloadLengthError */
|
||||
CAN_TRUE,
|
||||
|
||||
/* ucPayloadLengthValue */
|
||||
CAN_RSCAN_GPFLDLC_0,
|
||||
|
||||
/* ucNoOfMsgSignal */
|
||||
0x00U
|
||||
},
|
||||
/* Index: 1 - CanIcomRxMessage_001 */
|
||||
{
|
||||
/* pIcomRxMessageSignal */
|
||||
NULL_PTR,
|
||||
|
||||
/* ulMsgIdMask */
|
||||
0x000007FFUL,
|
||||
|
||||
/* ulMsgIdCode */
|
||||
0x00000112UL,
|
||||
|
||||
/* ulCounterValue */
|
||||
0x00000001UL,
|
||||
|
||||
/* blPayloadLengthError */
|
||||
CAN_FALSE,
|
||||
|
||||
/* ucPayloadLengthValue */
|
||||
CAN_RSCAN_GPFLDLC_8,
|
||||
|
||||
/* ucNoOfMsgSignal */
|
||||
0x00U
|
||||
},
|
||||
/* Index: 2 - CanIcomRxMessage_002 */
|
||||
{
|
||||
/* pIcomRxMessageSignal */
|
||||
NULL_PTR,
|
||||
|
||||
/* ulMsgIdMask */
|
||||
0x1FFFFFFFUL,
|
||||
|
||||
/* ulMsgIdCode */
|
||||
0x00000000UL,
|
||||
|
||||
/* ulCounterValue */
|
||||
0x00000001UL,
|
||||
|
||||
/* blPayloadLengthError */
|
||||
CAN_FALSE,
|
||||
|
||||
/* ucPayloadLengthValue */
|
||||
CAN_RSCAN_GPFLDLC_0,
|
||||
|
||||
/* ucNoOfMsgSignal */
|
||||
0x00U
|
||||
}
|
||||
};
|
||||
|
||||
/* Global array for Icom Config Structure */
|
||||
STATIC CONST(Can_IcomConfigType, CAN_CONFIG_DATA) Can_GaaIcomConfig0[] =
|
||||
{
|
||||
/* Index: 0 - CanIcomConfig */
|
||||
{
|
||||
/* pIcomRxMessage */
|
||||
&Can_GaaIcomRxMsgConfig1[0],
|
||||
|
||||
/* ucIcomNoOfRxMessage */
|
||||
0x03U,
|
||||
|
||||
/* blIcomWakeOnBusOff */
|
||||
CAN_TRUE
|
||||
}
|
||||
};
|
||||
|
||||
/* Global array for Config Structure */
|
||||
/* QAC Warning: START Msg(1:1502)-4 */
|
||||
CONST(Can_ConfigType, CAN_CONFIG_DATA) Can_GaaConfig[] =
|
||||
{
|
||||
/* Index: 0 - CanConfigSet0 */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0ED40110UL,
|
||||
|
||||
/* ucNoOfUnits */
|
||||
0x01U,
|
||||
|
||||
/* ucNoOfControllers */
|
||||
0x02U,
|
||||
|
||||
/* usNoOfHohs */
|
||||
0x0004U,
|
||||
|
||||
/* pHWUnitInfo */
|
||||
/* MISRA Violation: START Msg(2:0315)-1 */
|
||||
&Can_GaaHWUnitInfo0[0],
|
||||
/* END Msg(2:0315)-1 */
|
||||
|
||||
/* pControllerPCConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-1 */
|
||||
&Can_GaaControllerPCConfig0[0],
|
||||
/* END Msg(2:0315)-1 */
|
||||
|
||||
/* pControllerPBConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-1 */
|
||||
&Can_GaaControllerPBConfig0[0],
|
||||
/* END Msg(2:0315)-1 */
|
||||
|
||||
/* pHohConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-1 */
|
||||
&Can_GaaHohConfig0[0],
|
||||
/* END Msg(2:0315)-1 */
|
||||
|
||||
/* pIcomConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-1 */
|
||||
&Can_GaaIcomConfig0[0],
|
||||
/* END Msg(2:0315)-1 */
|
||||
|
||||
/* pPhysicalControllerToIndex */
|
||||
&Can_GaaPhysicalControllerToIndex0[0]
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1502)-4 */
|
||||
|
||||
#define CAN_RSCAN_STOP_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Can_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,143 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Crc_Cbk.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains callback function declaration. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddCrcRCAR.dll version: 1.0.5, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddcrc\sample_application\V4H\19_11\config\App_CDD_CRC_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddcrc\generator\V4H\R1911_CDD_CRC_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Crc.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:15
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_CRC_CBK_H
|
||||
#define CDD_CRC_CBK_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "CDD_Crc_Cfg.h"
|
||||
#include "CDD_Crc_Types.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDDCRC_CBK_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDCRC_CBK_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDCRC_CBK_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDDCRC_CBK_SW_MAJOR_VERSION 1U
|
||||
#define CDDCRC_CBK_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
#define CDDCRC_START_SEC_APPL_CODE
|
||||
#include "CddCrc_MemMap.h"
|
||||
|
||||
|
||||
extern FUNC(void, CDDCRC_APPL_CODE) CompareEndNotiCh0
|
||||
(
|
||||
CddCrc_CompareResultType LddResult
|
||||
);
|
||||
|
||||
|
||||
#define CDDCRC_STOP_SEC_APPL_CODE
|
||||
#include "CddCrc_MemMap.h"
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_CRC_CBK_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,595 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Crc_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddCrcRCAR.dll version: 1.0.5, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddcrc\sample_application\V4H\19_11\config\App_CDD_CRC_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddcrc\generator\V4H\R1911_CDD_CRC_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Crc.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:15
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_CRC_CFG_H
|
||||
#define CDD_CRC_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** QAC Warning **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '%s') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA C:2012 Rule-5.4 */
|
||||
/* REFERENCE - ISO:C90-6.1.2 Identifiers */
|
||||
/* Implementation Limits */
|
||||
/* CERTCCM DCL23 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDDCRC_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDCRC_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDCRC_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDDCRC_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CDDCRC_CFG_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CDDCRC_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CDDCRC_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CDDCRC_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define CDDCRC_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CDDCRC_SW_MINOR_VERSION_VALUE 0U
|
||||
#define CDDCRC_SW_PATCH_VERSION_VALUE 8U
|
||||
#define CDDCRC_VENDOR_ID_VALUE 59U
|
||||
#define CDDCRC_MODULE_ID_VALUE 255U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for Already Initialized check */
|
||||
#define CDDCRC_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Critical section protection */
|
||||
#define CDDCRC_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define CDDCRC_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for Register Write Verify */
|
||||
#define CDDCRC_REGISTER_WRITE_VERIFY STD_ON
|
||||
|
||||
/* Pre-compile option for Dependencies version check */
|
||||
#define CDDCRC_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for common EDC function */
|
||||
#define CDDCRC_EDC_ERROR_DETECT STD_ON
|
||||
|
||||
/* Pre-compile option for unintended module stop check function */
|
||||
#define CDDCRC_UNINTENDED_MODULE_STOP_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for unintended interrupt check function */
|
||||
#define CDDCRC_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for KCRC supporting */
|
||||
#define CDDCRC_KCRC STD_ON
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define CDDCRC_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for DEM hardware error event */
|
||||
#define CDDCRC_E_HARDWARE_ERROR \
|
||||
DemConf_DemEventParameter_CDDCRC_E_HARDWARE_ERROR
|
||||
|
||||
/* Pre-compile option for DEM register write verify error event */
|
||||
#define CDDCRC_E_WRITE_VERIFY \
|
||||
DemConf_DemEventParameter_CDDCRC_E_WRITE_VERIFY
|
||||
|
||||
/* Pre-compile option for DEM unintended module stop failure event */
|
||||
#define CDDCRC_E_UNINTENDED_MODULE_STOP_FAILURE \
|
||||
DemConf_DemEventParameter_CDDCRC_E_UNINTENDED_MODULE_STOP_FAILURE
|
||||
|
||||
/* Pre-compile option for DEM unintended interrupt controller failure event */
|
||||
#define CDDCRC_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_CDDCRC_E_INTERRUPT_CONTROLLER_FAILURE
|
||||
|
||||
/* Pre-compile option for total CRC channel configured */
|
||||
#define CDDCRC_TOTAL_CHANNELS_CONFIG 16U
|
||||
|
||||
/* Pre-compile option for total WCRC module channel configured */
|
||||
#define CDDCRC_TOTAL_WCRC_CHANNELS_CONFIG 4U
|
||||
|
||||
/* Pre-compile option for total DMA unit configured */
|
||||
#define CDDCRC_TOTAL_DMA_UNITS_CONFIG 4U
|
||||
|
||||
|
||||
/* Channel Handles */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration \
|
||||
(CddCrc_ChannelType) 0U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_001 \
|
||||
(CddCrc_ChannelType) 1U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_002 \
|
||||
(CddCrc_ChannelType) 2U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_003 \
|
||||
(CddCrc_ChannelType) 3U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_004 \
|
||||
(CddCrc_ChannelType) 4U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_005 \
|
||||
(CddCrc_ChannelType) 5U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_006 \
|
||||
(CddCrc_ChannelType) 6U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_007 \
|
||||
(CddCrc_ChannelType) 7U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_008 \
|
||||
(CddCrc_ChannelType) 8U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_009 \
|
||||
(CddCrc_ChannelType) 9U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_010 \
|
||||
(CddCrc_ChannelType) 10U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_011 \
|
||||
(CddCrc_ChannelType) 11U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_012 \
|
||||
(CddCrc_ChannelType) 12U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_013 \
|
||||
(CddCrc_ChannelType) 13U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_014 \
|
||||
(CddCrc_ChannelType) 14U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddCrcConf_CddCrcChannelConfiguration_CddCrcChannelConfiguration_015 \
|
||||
(CddCrc_ChannelType) 15U
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* Configuration Handles */
|
||||
|
||||
#define CddCrc_Config &CddCrc_GstConfiguration
|
||||
|
||||
/* Mapping to HW Channel */
|
||||
|
||||
#define CDDCRC_CRC_CH0 0U
|
||||
|
||||
#define CDDCRC_CRC_CH1 4U
|
||||
|
||||
#define CDDCRC_CRC_CH2 5U
|
||||
|
||||
#define CDDCRC_CRC_CH3 6U
|
||||
|
||||
#define CDDCRC_KCRC_CH0 1U
|
||||
|
||||
#define CDDCRC_KCRC_CH1 7U
|
||||
|
||||
#define CDDCRC_KCRC_CH2 8U
|
||||
|
||||
#define CDDCRC_KCRC_CH3 9U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH0 2U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH1 3U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH2 10U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH3 11U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH4 12U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH5 13U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH6 14U
|
||||
|
||||
#define CDDCRC_AES_ACC_CH7 15U
|
||||
|
||||
/* Mapping to WCRC Channel */
|
||||
|
||||
#define CDDCRC_WCRC_CH0 0U
|
||||
|
||||
#define CDDCRC_WCRC_CH1 1U
|
||||
|
||||
#define CDDCRC_WCRC_CH2 2U
|
||||
|
||||
#define CDDCRC_WCRC_CH3 3U
|
||||
|
||||
/* Mapping to DMA Channel */
|
||||
|
||||
#define CDDCRC_DMA_CH01 0U
|
||||
|
||||
#define CDDCRC_DMA_CH00 1U
|
||||
|
||||
#define CDDCRC_DMA_CH02 2U
|
||||
|
||||
#define CDDCRC_DMA_CH48 3U
|
||||
|
||||
#define CDDCRC_DMA_CH05 4U
|
||||
|
||||
#define CDDCRC_DMA_CH03 5U
|
||||
|
||||
#define CDDCRC_DMA_CH04 6U
|
||||
|
||||
#define CDDCRC_DMA_CH49 7U
|
||||
|
||||
#define CDDCRC_DMA_CH08 8U
|
||||
|
||||
#define CDDCRC_DMA_CH06 9U
|
||||
|
||||
#define CDDCRC_DMA_CH07 10U
|
||||
|
||||
#define CDDCRC_DMA_CH50 11U
|
||||
|
||||
#define CDDCRC_DMA_CH11 12U
|
||||
|
||||
#define CDDCRC_DMA_CH09 13U
|
||||
|
||||
#define CDDCRC_DMA_CH10 14U
|
||||
|
||||
#define CDDCRC_DMA_CH51 15U
|
||||
|
||||
#define CDDCRC_DMA_CH14 16U
|
||||
|
||||
#define CDDCRC_DMA_CH12 17U
|
||||
|
||||
#define CDDCRC_DMA_CH13 18U
|
||||
|
||||
#define CDDCRC_DMA_CH52 19U
|
||||
|
||||
#define CDDCRC_DMA_CH17 20U
|
||||
|
||||
#define CDDCRC_DMA_CH15 21U
|
||||
|
||||
#define CDDCRC_DMA_CH16 22U
|
||||
|
||||
#define CDDCRC_DMA_CH53 23U
|
||||
|
||||
#define CDDCRC_DMA_CH20 24U
|
||||
|
||||
#define CDDCRC_DMA_CH18 25U
|
||||
|
||||
#define CDDCRC_DMA_CH19 26U
|
||||
|
||||
#define CDDCRC_DMA_CH54 27U
|
||||
|
||||
#define CDDCRC_DMA_CH23 28U
|
||||
|
||||
#define CDDCRC_DMA_CH21 29U
|
||||
|
||||
#define CDDCRC_DMA_CH22 30U
|
||||
|
||||
#define CDDCRC_DMA_CH55 31U
|
||||
|
||||
#define CDDCRC_DMA_CH26 32U
|
||||
|
||||
#define CDDCRC_DMA_CH24 33U
|
||||
|
||||
#define CDDCRC_DMA_CH25 34U
|
||||
|
||||
#define CDDCRC_DMA_CH56 35U
|
||||
|
||||
#define CDDCRC_DMA_CH29 36U
|
||||
|
||||
#define CDDCRC_DMA_CH27 37U
|
||||
|
||||
#define CDDCRC_DMA_CH28 38U
|
||||
|
||||
#define CDDCRC_DMA_CH57 39U
|
||||
|
||||
#define CDDCRC_DMA_CH32 40U
|
||||
|
||||
#define CDDCRC_DMA_CH30 41U
|
||||
|
||||
#define CDDCRC_DMA_CH31 42U
|
||||
|
||||
#define CDDCRC_DMA_CH58 43U
|
||||
|
||||
#define CDDCRC_DMA_CH35 44U
|
||||
|
||||
#define CDDCRC_DMA_CH33 45U
|
||||
|
||||
#define CDDCRC_DMA_CH34 46U
|
||||
|
||||
#define CDDCRC_DMA_CH59 47U
|
||||
|
||||
#define CDDCRC_DMA_CH38 48U
|
||||
|
||||
#define CDDCRC_DMA_CH36 49U
|
||||
|
||||
#define CDDCRC_DMA_CH37 50U
|
||||
|
||||
#define CDDCRC_DMA_CH60 51U
|
||||
|
||||
#define CDDCRC_DMA_CH41 52U
|
||||
|
||||
#define CDDCRC_DMA_CH39 53U
|
||||
|
||||
#define CDDCRC_DMA_CH40 54U
|
||||
|
||||
#define CDDCRC_DMA_CH61 55U
|
||||
|
||||
#define CDDCRC_DMA_CH44 56U
|
||||
|
||||
#define CDDCRC_DMA_CH42 57U
|
||||
|
||||
#define CDDCRC_DMA_CH43 58U
|
||||
|
||||
#define CDDCRC_DMA_CH62 59U
|
||||
|
||||
#define CDDCRC_DMA_CH45 60U
|
||||
|
||||
#define CDDCRC_DMA_CH46 61U
|
||||
|
||||
#define CDDCRC_DMA_CH47 62U
|
||||
|
||||
#define CDDCRC_DMA_CH63 63U
|
||||
|
||||
/* Hardware Dma Channel Used */
|
||||
|
||||
#define CDDCRC_DMA00_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA01_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA02_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA03_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA04_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA05_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA06_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA07_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA08_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA09_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA10_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA11_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA12_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA13_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA14_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA15_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA16_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA17_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA18_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA19_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA20_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA21_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA22_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA23_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA24_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA25_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA26_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA27_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA28_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA29_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA30_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA31_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA32_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA33_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA34_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA35_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA36_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA37_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA38_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA39_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA40_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA41_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA42_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA43_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA44_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA45_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA46_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA47_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA48_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA49_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA50_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA51_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA52_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA53_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA54_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA55_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA56_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA57_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA58_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA59_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA60_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA61_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA62_USED STD_ON
|
||||
|
||||
#define CDDCRC_DMA63_USED STD_ON
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_CRC_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,158 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Iccom_Cbk.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains call-back functions declaration */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIccomRCAR.dll version: 1.0.10, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiccom\sample_application\V4H\19_11\config\App_CDD_ICCOM_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiccom\generator\V4H\R1911_CDD_ICCOM_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Iccom.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_CDD_Iccom.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:57
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_ICCOM_CBK_H
|
||||
#define CDD_ICCOM_CBK_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDDICCOM_CBK_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDICCOM_CBK_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDICCOM_CBK_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDDICCOM_CBK_SW_MAJOR_VERSION 1U
|
||||
#define CDDICCOM_CBK_SW_MINOR_VERSION 1U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#define CddIccom_START_SEC_CODE
|
||||
#include "CddIccom_MemMap.h"
|
||||
|
||||
extern FUNC(void, CddIccom_CODE) CddIccom_Ch0NoticeCallback
|
||||
(
|
||||
IccomNoticeType LenType,
|
||||
uint32 LulMsg
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIccom_CODE) CddIccom_Ch1NoticeCallback
|
||||
(
|
||||
IccomNoticeType LenType,
|
||||
uint32 LulMsg
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIccom_CODE) CddIccom_Ch2NoticeCallback
|
||||
(
|
||||
IccomNoticeType LenType,
|
||||
uint32 LulMsg
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIccom_CODE) CddIccom_Ch3NoticeCallback
|
||||
(
|
||||
IccomNoticeType LenType,
|
||||
uint32 LulMsg
|
||||
);
|
||||
|
||||
#define CddIccom_STOP_SEC_CODE
|
||||
#include "CddIccom_MemMap.h"
|
||||
|
||||
|
||||
#endif /* CDD_ICCOM_CBK_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,274 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Iccom_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIccomRCAR.dll version: 1.0.10, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiccom\sample_application\V4H\19_11\config\App_CDD_ICCOM_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiccom\generator\V4H\R1911_CDD_ICCOM_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Iccom.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_CDD_Iccom.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:57
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_ICCOM_CFG_H
|
||||
#define CDD_ICCOM_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from */
|
||||
/* other macro identifier(s) (e.g. '%s') within the */
|
||||
/* specified number of significant characters. */
|
||||
/* Rule : MISRA C:2012 Rule-5.4 */
|
||||
/* REFERENCE - ISO:C90-6.1.2 Identifiers - Implementation */
|
||||
/* Limits. */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDDICCOM_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDICCOM_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDICCOM_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDDICCOM_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CDDICCOM_CFG_SW_MINOR_VERSION 1U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CDDICCOM_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CDDICCOM_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CDDICCOM_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define CDDICCOM_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CDDICCOM_SW_MINOR_VERSION_VALUE 1U
|
||||
#define CDDICCOM_SW_PATCH_VERSION_VALUE 9U
|
||||
#define CDDICCOM_VENDOR_ID_VALUE 59U
|
||||
#define CDDICCOM_MODULE_ID_VALUE 255U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for Already Init Check */
|
||||
#define CDDICCOM_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Critical Section */
|
||||
#define CDDICCOM_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define CDDICCOM_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for Write Verify Check Error Report */
|
||||
#define CDDICCOM_WRITE_VERIFY_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Dependencies Version Check */
|
||||
#define CDDICCOM_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for Interrupt Consistency Check */
|
||||
#define CDDICCOM_INTERRUPT_CONSISTENCY_CHECK STD_OFF
|
||||
|
||||
/* Pre-compile option for Unintended Interrupt Check */
|
||||
#define CDDICCOM_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Initialization Notification */
|
||||
#define CDDICCOM_INIT_NOTIFICATION STD_OFF
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define CDDICCOM_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for DEM Fatal Error Event */
|
||||
#define CDDICCOM_E_FATAL \
|
||||
DemConf_DemEventParameter_CDDICCOM_E_FATAL
|
||||
|
||||
/* Pre-compile option for DEM Init Negotiation Error Event */
|
||||
#define CDDICCOM_E_INIT_NEGOTIATION \
|
||||
DemConf_DemEventParameter_CDDICCOM_E_INIT_NEGOTIATION
|
||||
|
||||
/* Pre-compile option for DEM Time-Out Error Event */
|
||||
#define CDDICCOM_E_TIMEOUT \
|
||||
DemConf_DemEventParameter_CDDICCOM_E_TIMEOUT
|
||||
|
||||
/* Pre-compile option for DEM Write Verify Check Error Event */
|
||||
#define CDDICCOM_E_WRITE_VERIFY_FAILURE \
|
||||
DemConf_DemEventParameter_CDDICCOM_E_WRITE_VERIFY_FAILURE
|
||||
|
||||
/* Pre-compile option for DEM Invalid Ack Event */
|
||||
#define CDDICCOM_E_INVALID_ACK \
|
||||
DemConf_DemEventParameter_CDDICCOM_E_INVALID_ACK
|
||||
|
||||
/* Pre-compile option for DEM Unintended Interrupt Check Error Event */
|
||||
#define CDDICCOM_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_CDDICCOM_E_INTERRUPT_CONTROLLER_FAILURE
|
||||
|
||||
/* Pre-compile option for Instance ID of the CDDICCOM Driver */
|
||||
#define CDDICCOM_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* Total number of Configured Channels */
|
||||
#define CDDICCOM_TOTAL_CHANNELS_CONFIG 4U
|
||||
|
||||
/* The order cores of CR52 */
|
||||
#define CDDICCOM_CR_NUMBER 0U
|
||||
|
||||
/* Supported Device Name */
|
||||
#define CDDICCOM_DEVICE_NAME CDDICCOM_V4H
|
||||
|
||||
/* CDDICCOM Channel Selection */
|
||||
#define CDDICCOM_CH0_USED STD_ON
|
||||
#define CDDICCOM_CH1_USED STD_ON
|
||||
#define CDDICCOM_CH2_USED STD_ON
|
||||
#define CDDICCOM_CH3_USED STD_ON
|
||||
#define CDDICCOM_CH4_USED STD_OFF
|
||||
#define CDDICCOM_CH5_USED STD_OFF
|
||||
#define CDDICCOM_CH6_USED STD_OFF
|
||||
#define CDDICCOM_CH7_USED STD_OFF
|
||||
#define CDDICCOM_CH8_USED STD_OFF
|
||||
#define CDDICCOM_CH9_USED STD_OFF
|
||||
|
||||
/* MFIS Channel Selection */
|
||||
#define CDDICCOM_AP_MFIS0_USED STD_ON
|
||||
#define CDDICCOM_AP_MFIS1_USED STD_ON
|
||||
#define CDDICCOM_AP_MFIS2_USED STD_ON
|
||||
#define CDDICCOM_AP_MFIS3_USED STD_ON
|
||||
#define CDDICCOM_AP_MFIS4_USED STD_OFF
|
||||
#define CDDICCOM_AP_MFIS5_USED STD_OFF
|
||||
#define CDDICCOM_AP_MFIS6_USED STD_OFF
|
||||
#define CDDICCOM_AP_MFIS7_USED STD_OFF
|
||||
#define CDDICCOM_CR_G4MH_MFIS0_USED STD_OFF
|
||||
#define CDDICCOM_CR_G4MH_MFIS1_USED STD_OFF
|
||||
|
||||
/* MFIS Channel Mapping */
|
||||
#define CDDICCOM_AP_MFIS0_CHANNEL (CddIccom_ChannelType)0U
|
||||
#define CDDICCOM_AP_MFIS1_CHANNEL (CddIccom_ChannelType)1U
|
||||
#define CDDICCOM_AP_MFIS2_CHANNEL (CddIccom_ChannelType)2U
|
||||
#define CDDICCOM_AP_MFIS3_CHANNEL (CddIccom_ChannelType)3U
|
||||
|
||||
/* CDDICCOM Channel Mapping Handles */
|
||||
#define CDDICCOM_CH0 (CddIccom_ChannelType)0U
|
||||
#define CDDICCOM_CH1 (CddIccom_ChannelType)1U
|
||||
#define CDDICCOM_CH2 (CddIccom_ChannelType)2U
|
||||
#define CDDICCOM_CH3 (CddIccom_ChannelType)3U
|
||||
|
||||
/* Channel Handles */
|
||||
#define CddIccomConf_CddIccomChannel_CddIccomChannel_000 \
|
||||
(CddIccom_ChannelType)0x00U
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddIccomConf_CddIccomChannel_CddIccomChannel_001 \
|
||||
(CddIccom_ChannelType)0x01U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddIccomConf_CddIccomChannel_CddIccomChannel_002 \
|
||||
(CddIccom_ChannelType)0x02U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddIccomConf_CddIccomChannel_CddIccomChannel_003 \
|
||||
(CddIccom_ChannelType)0x03U
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_ICCOM_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,558 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Iccom_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post build parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIccomRCAR.dll version: 1.0.10, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiccom\sample_application\V4H\19_11\config\App_CDD_ICCOM_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiccom\generator\V4H\R1911_CDD_ICCOM_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Iccom.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_CDD_Iccom.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:57
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "CDD_Iccom.h"
|
||||
#include "CDD_Iccom_PBTypes.h"
|
||||
#include "CDD_Iccom_Ram.h"
|
||||
#include "CDD_Iccom_Cbk.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3432) Simple macro argument expression is not */
|
||||
/* parenthesized. */
|
||||
/* Rule : MISRA C:2012 Rule-20.7, CWE Rule CWE-398, CWE-569 */
|
||||
/* REFERENCE - ISO:C90-6.3.1 Primary Expressions. */
|
||||
/* Justification : Compiler keyword (macro) is defined and used followed */
|
||||
/* AUTOSAR standard rule. It is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3432)-1 and */
|
||||
/* END Msg(2:3432)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1504) The object '%1s' is only referenced in */
|
||||
/* the translation unit where it is defined. */
|
||||
/* Rule : MISRA C:2012 Rule-8.7, CWE Rule CWE-398, CWE-569 */
|
||||
/* Justification : This is accepted, due to following coding rule, */
|
||||
/* internal function can be defined in other C source files */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1504)-2 and */
|
||||
/* END Msg(1:1504)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0306) [I] Cast between a pointer to object and */
|
||||
/* an integral type. */
|
||||
/* Rule : MISRA C:2012 Rule-11.4, CWE Rule CWE-398, CWE-569, CWE-738 */
|
||||
/* REFERENCE - ISO:C90-6.3.4 Cast Operators - Semantics */
|
||||
/* Justification : Typecasting is done as per the register size, */
|
||||
/* to access hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0306)-3 and */
|
||||
/* END Msg(2:0306)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2012 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-4 and */
|
||||
/* END Msg(4:5087)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDDICCOM_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDICCOM_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDICCOM_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDDICCOM_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define CDDICCOM_PBCFG_C_SW_MINOR_VERSION 1U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (CDDICCOM_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
CDDICCOM_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "CDD_Iccom_PBcfg.c: Mismatch in Release Major Version"
|
||||
#endif
|
||||
#if (CDDICCOM_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
CDDICCOM_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "CDD_Iccom_PBcfg.c: Mismatch in Release Minor Version"
|
||||
#endif
|
||||
#if (CDDICCOM_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
CDDICCOM_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "CDD_Iccom_PBcfg.c: Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (CDDICCOM_SW_MAJOR_VERSION != CDDICCOM_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "CDD_Iccom_PBcfg.c: Mismatch in Software Major Version"
|
||||
#endif
|
||||
#if (CDDICCOM_SW_MINOR_VERSION != CDDICCOM_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "CDD_Iccom_PBcfg.c: Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define CDDICCOM_START_SEC_CONFIG_DATA_32
|
||||
#include "CddIccom_MemMap.h"
|
||||
|
||||
/* Global array for Global ConfigSet structure */
|
||||
CONST(CddIccom_ConfigType, CDDICCOM_CONFIG_DATA) CddIccom_GstConfiguration[] =
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0EFFC108UL,
|
||||
|
||||
/* pChannelConfig */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(CddIccom_ChannelConfigType, TYPEDEF, CDDICCOM_APPL_CONST)) \
|
||||
&CddIccom_GstChannelConfig[0],
|
||||
/* END Msg(2:3432)-1 */
|
||||
|
||||
/* pChannelStatus */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(CddIccom_ChannelStatusType, TYPEDEF, CDDICCOM_APPL_DATA)) \
|
||||
&CddIccom_GstChannelStatus[0]
|
||||
/* END Msg(2:3432)-1 */
|
||||
}
|
||||
};
|
||||
|
||||
/* Global array for Channel Configuration structure */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddIccom_ChannelConfigType, CDDICCOM_CONFIG_DATA)
|
||||
CddIccom_GstChannelConfig[] =
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* *pMFISxICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6261400UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6269404UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISxMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6261440UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6269460UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FC7000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FC7800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FC8000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FC8800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* uiCtaPartSize */
|
||||
0x00000800UL,
|
||||
|
||||
/* *ddTimeoutCntId */
|
||||
OsCounter,
|
||||
|
||||
/* uiTimeout */
|
||||
0x000100FDUL,
|
||||
|
||||
/* *pNotification */
|
||||
&CddIccom_Ch0NoticeCallback,
|
||||
|
||||
/* *pEnterRegProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION0,
|
||||
|
||||
/* *pExitRegProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION0,
|
||||
|
||||
/* *pEnterGlbProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_RAM_DATA_PROTECTION0,
|
||||
|
||||
/* *pExitGlbProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_RAM_DATA_PROTECTION0
|
||||
},
|
||||
/* Index: 1 - 1 */
|
||||
{
|
||||
/* *pMFISxICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6262408UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE626940CUL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISxMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6262444UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6269464UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FC9000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FC9800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCA000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCA800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* uiCtaPartSize */
|
||||
0x00000800UL,
|
||||
|
||||
/* *ddTimeoutCntId */
|
||||
OsCounter,
|
||||
|
||||
/* uiTimeout */
|
||||
0x000100FDUL,
|
||||
|
||||
/* *pNotification */
|
||||
&CddIccom_Ch1NoticeCallback,
|
||||
|
||||
/* *pEnterRegProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION1,
|
||||
|
||||
/* *pExitRegProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION1,
|
||||
|
||||
/* *pEnterGlbProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_RAM_DATA_PROTECTION1,
|
||||
|
||||
/* *pExitGlbProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_RAM_DATA_PROTECTION1
|
||||
},
|
||||
/* Index: 2 - 2 */
|
||||
{
|
||||
/* *pMFISxICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6263410UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6269414UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISxMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6263448UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6269468UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCB000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCB800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCC000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCC800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* uiCtaPartSize */
|
||||
0x00000800UL,
|
||||
|
||||
/* *ddTimeoutCntId */
|
||||
OsCounter,
|
||||
|
||||
/* uiTimeout */
|
||||
0x000100FDUL,
|
||||
|
||||
/* *pNotification */
|
||||
&CddIccom_Ch2NoticeCallback,
|
||||
|
||||
/* *pEnterRegProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION2,
|
||||
|
||||
/* *pExitRegProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION2,
|
||||
|
||||
/* *pEnterGlbProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_RAM_DATA_PROTECTION2,
|
||||
|
||||
/* *pExitGlbProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_RAM_DATA_PROTECTION2
|
||||
},
|
||||
/* Index: 3 - 3 */
|
||||
{
|
||||
/* *pMFISxICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE6264418UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyICRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE626941CUL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISxMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE626444CUL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pMFISyMBRnReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint32, TYPEDEF, REGSPACE)) 0xE626946CUL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCD000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaRxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2CONST(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCD800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxUpper */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCE000UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* *pCtaTxBottom */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-1 */
|
||||
(P2VAR(uint8, TYPEDEF, CDDICCOM_APPL_DATA)) 0x47FCE800UL,
|
||||
/* END Msg(2:3432)-1 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* uiCtaPartSize */
|
||||
0x00000800UL,
|
||||
|
||||
/* *ddTimeoutCntId */
|
||||
OsCounter,
|
||||
|
||||
/* uiTimeout */
|
||||
0x000100FDUL,
|
||||
|
||||
/* *pNotification */
|
||||
&CddIccom_Ch3NoticeCallback,
|
||||
|
||||
/* *pEnterRegProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION3,
|
||||
|
||||
/* *pExitRegProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_INTERRUPT_CONTROL_PROTECTION3,
|
||||
|
||||
/* *pEnterGlbProtect */
|
||||
&SchM_Enter_CddIccom_CDDICCOM_RAM_DATA_PROTECTION3,
|
||||
|
||||
/* *pExitGlbProtect */
|
||||
&SchM_Exit_CddIccom_CDDICCOM_RAM_DATA_PROTECTION3
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
#define CDDICCOM_STOP_SEC_CONFIG_DATA_32
|
||||
/* MISRA Violation: START Msg(4:5087)-4 */
|
||||
#include "CddIccom_MemMap.h"
|
||||
/* END Msg(4:5087)-4 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,167 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Iic_Cbk.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains call-back functions declaration */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** 1.0.0 16-Mar-2022 Initial Version **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIicRCAR.dll version: 1.0.10, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiic\sample_application\V4H\19_11\config\App_CDD_IIC_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiic\generator\V4H\R1911_CDD_IIC_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Iic.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:06
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_IIC_CBK_H
|
||||
#define CDD_IIC_CBK_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDDIIC_CBK_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDIIC_CBK_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDIIC_CBK_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDDIIC_CBK_SW_MAJOR_VERSION 1U
|
||||
#define CDDIIC_CBK_SW_MINOR_VERSION 1U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#define CddIic_START_SEC_CODE
|
||||
#include "CddIic_MemMap.h"
|
||||
|
||||
extern FUNC(void, CddIic_CODE) CddIic_Ch0NoticeCallBack
|
||||
(
|
||||
IicNotification LstNoticInfo
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIic_CODE) CddIic_Ch1NoticeCallBack
|
||||
(
|
||||
IicNotification LstNoticInfo
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIic_CODE) CddIic_Ch2NoticeCallBack
|
||||
(
|
||||
IicNotification LstNoticInfo
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIic_CODE) CddIic_Ch3NoticeCallBack
|
||||
(
|
||||
IicNotification LstNoticInfo
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIic_CODE) CddIic_Ch4NoticeCallBack
|
||||
(
|
||||
IicNotification LstNoticInfo
|
||||
);
|
||||
|
||||
extern FUNC(void, CddIic_CODE) CddIic_Ch5NoticeCallBack
|
||||
(
|
||||
IicNotification LstNoticInfo
|
||||
);
|
||||
|
||||
#define CddIic_STOP_SEC_CODE
|
||||
#include "CddIic_MemMap.h"
|
||||
|
||||
|
||||
#endif /* CDD_IIC_CBK_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,232 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Iic_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** 1.0.0 16-Mar-2022 Initial Version **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIicRCAR.dll version: 1.0.10, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiic\sample_application\V4H\19_11\config\App_CDD_IIC_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddiic\generator\V4H\R1911_CDD_IIC_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Iic.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:06
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_IIC_CFG_H
|
||||
#define CDD_IIC_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDIIC_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDIIC_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDIIC_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File Version Information */
|
||||
#define CDDIIC_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CDDIIC_CFG_SW_MINOR_VERSION 1U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CDDIIC_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CDDIIC_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CDDIIC_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define CDDIIC_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CDDIIC_SW_MINOR_VERSION_VALUE 1U
|
||||
#define CDDIIC_SW_PATCH_VERSION_VALUE 0U
|
||||
#define CDDIIC_VENDOR_ID_VALUE 59U
|
||||
#define CDDIIC_MODULE_ID_VALUE 255U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for Already Init Check */
|
||||
#define CDDIIC_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define CDDIIC_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for Register Write Error Report */
|
||||
#define CDDIIC_REGISTER_WRITE_VERIFY STD_OFF
|
||||
|
||||
/* Pre-compile option for Dependencies Version Check */
|
||||
#define CDDIIC_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for Critical Section */
|
||||
#define CDDIIC_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for Unintended Interrupt Check */
|
||||
#define CDDIIC_UNINTENDED_INTERRUPT_CHECK STD_OFF
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define CDDIIC_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for DEM for non-acknowledgement event */
|
||||
#define CDDIIC_E_NON_ACKNOWLEDGEMENT \
|
||||
DemConf_DemEventParameter_CDDIIC_E_NON_ACKNOWLEDGEMENT
|
||||
|
||||
|
||||
/* Total number of configured channels */
|
||||
#define CDDIIC_TOTAL_CHANNELS_CONFIG 6U
|
||||
|
||||
/* Total number of slave configurations */
|
||||
#define CDDIIC_TOTAL_SLAVES_CONFIG 1U
|
||||
|
||||
/* Total number of DMA configuration */
|
||||
#define CDDIIC_TOTAL_DMA_CONFIG 0U
|
||||
|
||||
/* Supported Device Name */
|
||||
#define CDDIIC_DEVICE_NAME V4H
|
||||
|
||||
/* CDDIIC channel selection */
|
||||
#define CDDIIC_CH0_USED STD_ON
|
||||
#define CDDIIC_CH1_USED STD_ON
|
||||
#define CDDIIC_CH2_USED STD_ON
|
||||
#define CDDIIC_CH3_USED STD_ON
|
||||
#define CDDIIC_CH4_USED STD_ON
|
||||
#define CDDIIC_CH5_USED STD_ON
|
||||
#define CDDIIC_CH6_USED STD_OFF
|
||||
|
||||
/* CDDIIC hardware channel selection */
|
||||
#define CDDIIC_HW_IIC0_USED STD_ON
|
||||
#define CDDIIC_HW_IIC1_USED STD_ON
|
||||
#define CDDIIC_HW_IIC2_USED STD_ON
|
||||
#define CDDIIC_HW_IIC3_USED STD_ON
|
||||
#define CDDIIC_HW_IIC4_USED STD_ON
|
||||
#define CDDIIC_HW_IIC5_USED STD_ON
|
||||
#define CDDIIC_HW_IIC6_USED STD_OFF
|
||||
|
||||
/* CDDIIC hardware channel mapping */
|
||||
#define CDDIIC_HW_IIC0_CHANNEL (CddIic_ChannelType)0U
|
||||
#define CDDIIC_HW_IIC1_CHANNEL (CddIic_ChannelType)1U
|
||||
#define CDDIIC_HW_IIC2_CHANNEL (CddIic_ChannelType)2U
|
||||
#define CDDIIC_HW_IIC3_CHANNEL (CddIic_ChannelType)3U
|
||||
#define CDDIIC_HW_IIC4_CHANNEL (CddIic_ChannelType)4U
|
||||
#define CDDIIC_HW_IIC5_CHANNEL (CddIic_ChannelType)5U
|
||||
|
||||
/* DMA CDDIIC Channel mapping */
|
||||
|
||||
/* CDDIIC channel interface */
|
||||
#define CDDIIC_CH0_INTERFACE CDDIIC_MASTER_INTERFACE
|
||||
#define CDDIIC_CH1_INTERFACE CDDIIC_SLAVE_INTERFACE
|
||||
#define CDDIIC_CH2_INTERFACE CDDIIC_MASTER_INTERFACE
|
||||
#define CDDIIC_CH3_INTERFACE CDDIIC_MASTER_INTERFACE
|
||||
#define CDDIIC_CH4_INTERFACE CDDIIC_MASTER_INTERFACE
|
||||
#define CDDIIC_CH5_INTERFACE CDDIIC_MASTER_INTERFACE
|
||||
|
||||
/* Configuration Set Handles */
|
||||
#define CddIicConf_CddConfigSet_CddConfigSet \
|
||||
(&CddIic_GaaConfiguration[0])
|
||||
|
||||
/* Slave Handles */
|
||||
#define CddIicConf_CddIicSlaves_CddIicSlave \
|
||||
(&CddIic_GaaSlaveConfig[0])
|
||||
|
||||
/* Bus mode configure */
|
||||
#define CDDIIC_FAST_MODE_PLUS STD_ON
|
||||
|
||||
/* Dummy read configure */
|
||||
#define CDDIIC_DUMMY_READ_IRQ_STATUS STD_ON
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_IIC_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,148 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Ipmmu_Cbk.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains callback function for IPMMU */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIpmmuRCAR.dll version: 1.0.7, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddipmmu\sample_application\V4H\19_11\config\App_CDD_IPMMU_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddipmmu\generator\V4H\R1911_CDD_IPMMU_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Ipmmu.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:41
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_IPMMU_CBK_H
|
||||
#define CDD_IPMMU_CBK_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDIPMMU_CBK_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDIPMMU_CBK_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDIPMMU_CBK_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define CDDIPMMU_CBK_SW_MAJOR_VERSION 1U
|
||||
#define CDDIPMMU_CBK_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#define CDDIPMMU_START_SEC_APPL_CODE
|
||||
#include "CddIpmmu_MemMap.h"
|
||||
|
||||
extern FUNC(void, CDDIPMMU_APPL_CODE) CddIpmmu_MmuCallBackFunction0
|
||||
(
|
||||
uint8 Mmu,
|
||||
CddIpmmu_ErrorCodeType ErrorCode,
|
||||
boolean MultiHit,
|
||||
boolean Abort,
|
||||
boolean PageFault,
|
||||
boolean TransFault,
|
||||
uint32 ErrorAddr,
|
||||
uint8 UpperErrorAddr
|
||||
);
|
||||
|
||||
#define CDDIPMMU_STOP_SEC_APPL_CODE
|
||||
#include "CddIpmmu_MemMap.h"
|
||||
|
||||
|
||||
#endif /* CDD_IPMMU_CBK_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,190 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Ipmmu_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIpmmuRCAR.dll version: 1.0.7, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddipmmu\sample_application\V4H\19_11\config\App_CDD_IPMMU_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddipmmu\generator\V4H\R1911_CDD_IPMMU_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Ipmmu.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:41
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_IPMMU_CFG_H
|
||||
#define CDD_IPMMU_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDIPMMU_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDIPMMU_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDIPMMU_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define CDDIPMMU_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CDDIPMMU_CFG_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CDDIPMMU_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CDDIPMMU_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CDDIPMMU_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
|
||||
#define CDDIPMMU_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CDDIPMMU_SW_MINOR_VERSION_VALUE 0U
|
||||
#define CDDIPMMU_SW_PATCH_VERSION_VALUE 8U
|
||||
|
||||
#define CDDIPMMU_VENDOR_ID_VALUE 59U
|
||||
#define CDDIPMMU_MODULE_ID_VALUE 255U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for Version information */
|
||||
#define CDDIPMMU_AR_VERSION CDDIPMMU_AR_1911_VERSION
|
||||
|
||||
/* Pre-compile option for Instance ID of the CDDIPMMU Driver */
|
||||
#define CDDIPMMU_INSTANCE_ID_VALUE 0x0U
|
||||
|
||||
/* Supported Device Name */
|
||||
#define CDDIPMMU_DEVICE_NAME V4H
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define CDDIPMMU_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for Critical Section */
|
||||
#define CDDIPMMU_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for selection register read-back functionality of */
|
||||
/* static and dynamic registers */
|
||||
#define CDDIPMMU_WRITE_VERIFY_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Already Init Check */
|
||||
#define CDDIPMMU_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Dependencies Version Check */
|
||||
#define CDDIPMMU_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for selection enable or disable unintended interrupt */
|
||||
/* detection */
|
||||
#define CDDIPMMU_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for EDC Error Detect */
|
||||
#define CDDIPMMU_EDC_ERROR_DETECT STD_ON
|
||||
|
||||
/* Pre-compile option for IR Domain support */
|
||||
#define CDDIPMMU_IR_DOMAIN_SUPPORT STD_ON
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define CDDIPMMU_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for DEM Register Write Verify Error Event */
|
||||
#define CDDIPMMU_E_WRITE_VERIFY_FAILURE \
|
||||
DemConf_DemEventParameter_CDDIPMMU_E_WRITE_VERIFY_FAILURE
|
||||
|
||||
/* Pre-compile option for DEM Unintended Interrupt Check Error Event */
|
||||
#define CDDIPMMU_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_CDDIPMMU_E_INTERRUPT_CONTROLLER_FAILURE
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_IPMMU_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,642 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Ipmmu_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compiles and types for IPMMU hardware */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddIpmmuRCAR.dll version: 1.0.7, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddipmmu\sample_application\V4H\19_11\config\App_CDD_IPMMU_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddipmmu\generator\V4H\R1911_CDD_IPMMU_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Ipmmu.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:42
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "CDD_Ipmmu.h"
|
||||
#include "CDD_Ipmmu_PBTypes.h"
|
||||
/* MISRA Violation: START Msg(2:0857)-5 */
|
||||
#include "CDD_Ipmmu_Ram.h"
|
||||
/* END Msg(2:0857)-5 */
|
||||
#include "CDD_Ipmmu_Cbk.h"
|
||||
#include "CDD_Ipmmu_Hardware.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2012 Rule 20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, (MEMMAP003 - */
|
||||
/* Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-1 and */
|
||||
/* END Msg(4:5087)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1504) The object '%1s' is only referenced in the */
|
||||
/* translation unit where it is defined. */
|
||||
/* Rule : MISRA-C:2012 Rule 8.7, CWE-398, CWE-569 */
|
||||
/* Justification : This is accepted, due to following coding rule, */
|
||||
/* internal function can be defined in other C source files */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1504)-2 and */
|
||||
/* END Msg(1:1504)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3214) The macro '%s' is not used and could be removed. */
|
||||
/* Rule : MISRA C:2012 Rule-2.5 */
|
||||
/* Justification : This can be accepted, it will be used in some */
|
||||
/* case of configuration. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3214)-3 and */
|
||||
/* END Msg(2:3214)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from */
|
||||
/* other macro identifier(s) (e.g. '%s') */
|
||||
/* within the specified number of significant characters. */
|
||||
/* Rule : MISRA C:2012 Rule-5.4 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted.. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-4 and */
|
||||
/* END Msg(7:0791)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 5. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0857) [L] Number of macro definitions exceeds 1024 */
|
||||
/* - program does not conform strictly to ISO:C90. */
|
||||
/* Rule : MISRA C:2012 Dir-1.1 */
|
||||
/* Justification : The number of macro depend on module code size. */
|
||||
/* There is no issue when number of macro is over 1024 */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0857)-5 and */
|
||||
/* END Msg(2:0857)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDIPMMU_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDIPMMU_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDIPMMU_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define CDDIPMMU_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define CDDIPMMU_PBCFG_C_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (CDDIPMMU_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
CDDIPMMU_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "CDD_Ipmmu_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (CDDIPMMU_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
CDDIPMMU_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "CDD_Ipmmu_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (CDDIPMMU_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
CDDIPMMU_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "CDD_Ipmmu_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (CDDIPMMU_PBTYPES_SW_MAJOR_VERSION != CDDIPMMU_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "CDD_Ipmmu_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (CDDIPMMU_PBTYPES_SW_MINOR_VERSION != CDDIPMMU_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "CDD_Ipmmu_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define CDDIPMMU_START_SEC_CONFIG_DATA_32
|
||||
#include "CddIpmmu_MemMap.h"
|
||||
|
||||
/* Structure for CDD Ipmmu Init configuration */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddIpmmu_ConfigType, CDDIPMMU_CONFIG_DATA) CddIpmmu_GstConfiguration[] =
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0EFFC100UL,
|
||||
|
||||
/* pMmuConfig */
|
||||
&CddIpmmu_GstMmuConfig[0],
|
||||
|
||||
/* pPmbConfig */
|
||||
&CddIpmmu_GstPmbConfig[0],
|
||||
|
||||
/* pMicroTlbConfig */
|
||||
&CddIpmmu_GstMicroTlbConfig[0],
|
||||
|
||||
/* ucNumberOfMmuConfig */
|
||||
0x2U,
|
||||
|
||||
/* ucNumberOfPmbConfig */
|
||||
0x2U,
|
||||
|
||||
/* ulNumberOfTlbConfig */
|
||||
0x6UL
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
#define CDDIPMMU_STOP_SEC_CONFIG_DATA_32
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "CddIpmmu_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
/* MISRA Violation: START Msg(7:0791)-4 */
|
||||
#define CDDIPMMU_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* END Msg(7:0791)-4 */
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "CddIpmmu_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
/* Global array for Mmu configuration Structure */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddIpmmu_MmuConfigType, CDDIPMMU_CONFIG_DATA) CddIpmmu_GstMmuConfig[] =
|
||||
{
|
||||
/* Index: 0 - CddIpmmuMmu_000 */
|
||||
{
|
||||
/* pMmuTranslationTable */
|
||||
&CddIpmmu_GstTranslationTableConfig[0],
|
||||
|
||||
/* pMmuCallbackFunction */
|
||||
&CddIpmmu_MmuCallBackFunction0,
|
||||
|
||||
/* enMmuStartLevel */
|
||||
CDD_IPMMU_LEVEL_1ST,
|
||||
|
||||
/* ulMmuMemoryAttributeIndirection0 */
|
||||
0x0UL,
|
||||
|
||||
/* ulMmuMemoryAttributeIndirection1 */
|
||||
0x0UL,
|
||||
|
||||
/* ucMmuId */
|
||||
0x0U,
|
||||
|
||||
/* ucMmuSelection */
|
||||
0x2U,
|
||||
|
||||
/* ucNumberTranslationTable */
|
||||
0x2U,
|
||||
|
||||
/* ucMmuAArchSupport */
|
||||
MMU_VMSAV8_MODE_32,
|
||||
|
||||
/* ucMmuTranslationTableFormat */
|
||||
MMU_LONG_DESCRIPTOR_MODE,
|
||||
|
||||
/* ucMmuAccessFlagEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 1 - CddIpmmuMmu_001 */
|
||||
{
|
||||
/* pMmuTranslationTable */
|
||||
&CddIpmmu_GstTranslationTableConfig[2],
|
||||
|
||||
/* pMmuCallbackFunction */
|
||||
NULL_PTR,
|
||||
|
||||
/* enMmuStartLevel */
|
||||
CDD_IPMMU_LEVEL_2ND,
|
||||
|
||||
/* ulMmuMemoryAttributeIndirection0 */
|
||||
0x0UL,
|
||||
|
||||
/* ulMmuMemoryAttributeIndirection1 */
|
||||
0x0UL,
|
||||
|
||||
/* ucMmuId */
|
||||
0x1U,
|
||||
|
||||
/* ucMmuSelection */
|
||||
0x3U,
|
||||
|
||||
/* ucNumberTranslationTable */
|
||||
0x2U,
|
||||
|
||||
/* ucMmuAArchSupport */
|
||||
MMU_VMSAV8_MODE_32,
|
||||
|
||||
/* ucMmuTranslationTableFormat */
|
||||
MMU_LONG_DESCRIPTOR_MODE,
|
||||
|
||||
/* ucMmuAccessFlagEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
/* Global array for Translation table configuration Structure */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddIpmmu_TranslationTableConfigType, CDDIPMMU_CONFIG_DATA)
|
||||
CddIpmmu_GstTranslationTableConfig[] =
|
||||
{
|
||||
/* Index: 0 - CddIpmmuMmu_000/CddIpmmuMmuTranslationTable_0 */
|
||||
{
|
||||
/* enMmuShareAbility */
|
||||
CDD_IPMMU_NON_SHAREABLE,
|
||||
|
||||
/* enMmuOuterCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* enMmuInnerCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* ulMmuLowerBaseAddress */
|
||||
0x4B421UL,
|
||||
|
||||
/* ucMmuUpperBaseAddress */
|
||||
0x0U,
|
||||
|
||||
/* ucTranslationTableId */
|
||||
0x0U,
|
||||
|
||||
/* ucMmuId */
|
||||
0x2U,
|
||||
|
||||
/* ucMmuTranslationSize */
|
||||
0x1U
|
||||
},
|
||||
/* Index: 1 - CddIpmmuMmu_000/CddIpmmuMmuTranslationTable_1 */
|
||||
{
|
||||
/* enMmuShareAbility */
|
||||
CDD_IPMMU_NON_SHAREABLE,
|
||||
|
||||
/* enMmuOuterCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* enMmuInnerCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* ulMmuLowerBaseAddress */
|
||||
0x4B421UL,
|
||||
|
||||
/* ucMmuUpperBaseAddress */
|
||||
0x0U,
|
||||
|
||||
/* ucTranslationTableId */
|
||||
0x1U,
|
||||
|
||||
/* ucMmuId */
|
||||
0x2U,
|
||||
|
||||
/* ucMmuTranslationSize */
|
||||
0x1U
|
||||
},
|
||||
/* Index: 2 - CddIpmmuMmu_001/CddIpmmuMmuTranslationTable_0 */
|
||||
{
|
||||
/* enMmuShareAbility */
|
||||
CDD_IPMMU_NON_SHAREABLE,
|
||||
|
||||
/* enMmuOuterCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* enMmuInnerCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* ulMmuLowerBaseAddress */
|
||||
0x4B421UL,
|
||||
|
||||
/* ucMmuUpperBaseAddress */
|
||||
0x0U,
|
||||
|
||||
/* ucTranslationTableId */
|
||||
0x0U,
|
||||
|
||||
/* ucMmuId */
|
||||
0x3U,
|
||||
|
||||
/* ucMmuTranslationSize */
|
||||
0x2U
|
||||
},
|
||||
/* Index: 3 - CddIpmmuMmu_001/CddIpmmuMmuTranslationTable_1 */
|
||||
{
|
||||
/* enMmuShareAbility */
|
||||
CDD_IPMMU_NON_SHAREABLE,
|
||||
|
||||
/* enMmuOuterCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* enMmuInnerCacheAbility */
|
||||
CDD_IPMMU_NON_CACHEABLE,
|
||||
|
||||
/* ulMmuLowerBaseAddress */
|
||||
0x4B421UL,
|
||||
|
||||
/* ucMmuUpperBaseAddress */
|
||||
0x0U,
|
||||
|
||||
/* ucTranslationTableId */
|
||||
0x1U,
|
||||
|
||||
/* ucMmuId */
|
||||
0x3U,
|
||||
|
||||
/* ucMmuTranslationSize */
|
||||
0x2U
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
/* Global array for Pmb configuration Structure */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddIpmmu_PmbConfigType, CDDIPMMU_CONFIG_DATA) CddIpmmu_GstPmbConfig[] =
|
||||
{
|
||||
/* Index: 0 - CddIpmmuPmb_000 */
|
||||
{
|
||||
/* pPmbCallbackFunction */
|
||||
NULL_PTR,
|
||||
|
||||
/* enPmbBusDomain */
|
||||
CDD_IPMMU_RT1,
|
||||
|
||||
/* enPmbPageSize */
|
||||
CDD_IPMMU_PMB_SIZE_16MB,
|
||||
|
||||
/* ucPmbPhysicalPageNumber */
|
||||
0xE6U,
|
||||
|
||||
/* ucPmbUpperPhysicalPageNumber */
|
||||
0x0U,
|
||||
|
||||
/* ucPmbVirtualPageNumber */
|
||||
0x0U,
|
||||
|
||||
/* ucPmbId */
|
||||
0x0U,
|
||||
|
||||
/* ucPmbSelection */
|
||||
0x1U,
|
||||
|
||||
/* ucPmbCacheBit */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 1 - CddIpmmuPmb_001 */
|
||||
{
|
||||
/* pPmbCallbackFunction */
|
||||
NULL_PTR,
|
||||
|
||||
/* enPmbBusDomain */
|
||||
CDD_IPMMU_DS0,
|
||||
|
||||
/* enPmbPageSize */
|
||||
CDD_IPMMU_PMB_SIZE_16MB,
|
||||
|
||||
/* ucPmbPhysicalPageNumber */
|
||||
0xE6U,
|
||||
|
||||
/* ucPmbUpperPhysicalPageNumber */
|
||||
0x0U,
|
||||
|
||||
/* ucPmbVirtualPageNumber */
|
||||
0x0U,
|
||||
|
||||
/* ucPmbId */
|
||||
0x1U,
|
||||
|
||||
/* ucPmbSelection */
|
||||
0x2U,
|
||||
|
||||
/* ucPmbCacheBit */
|
||||
CDDIPMMU_ENABLE
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
/* Global array for Micro Tlb configuration Structure */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddIpmmu_MicroTlbConfigType, CDDIPMMU_CONFIG_DATA)
|
||||
CddIpmmu_GstMicroTlbConfig[] =
|
||||
{
|
||||
/* Index: 0 - CddIpmmuTlb_000 */
|
||||
{
|
||||
/* enTlbBusDomain */
|
||||
CDD_IPMMU_RT1,
|
||||
|
||||
/* ulTlbId */
|
||||
0x0UL,
|
||||
|
||||
/* ucTlbSelection */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbTranslationTable */
|
||||
CDD_IPMMU_PMB,
|
||||
|
||||
/* ucTlbASID */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbAddressTranslationEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 1 - CddIpmmuTlb_001 */
|
||||
{
|
||||
/* enTlbBusDomain */
|
||||
CDD_IPMMU_RT1,
|
||||
|
||||
/* ulTlbId */
|
||||
0x1UL,
|
||||
|
||||
/* ucTlbSelection */
|
||||
0x2U,
|
||||
|
||||
/* ucTlbTranslationTable */
|
||||
CDD_IPMMU_MMU2,
|
||||
|
||||
/* ucTlbASID */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbAddressTranslationEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 2 - CddIpmmuTlb_002 */
|
||||
{
|
||||
/* enTlbBusDomain */
|
||||
CDD_IPMMU_RT1,
|
||||
|
||||
/* ulTlbId */
|
||||
0x2UL,
|
||||
|
||||
/* ucTlbSelection */
|
||||
0x3U,
|
||||
|
||||
/* ucTlbTranslationTable */
|
||||
CDD_IPMMU_MMU3,
|
||||
|
||||
/* ucTlbASID */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbAddressTranslationEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 3 - CddIpmmuTlb_003 */
|
||||
{
|
||||
/* enTlbBusDomain */
|
||||
CDD_IPMMU_DS0,
|
||||
|
||||
/* ulTlbId */
|
||||
0x3UL,
|
||||
|
||||
/* ucTlbSelection */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbTranslationTable */
|
||||
CDD_IPMMU_PMB,
|
||||
|
||||
/* ucTlbASID */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbAddressTranslationEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 4 - CddIpmmuTlb_004 */
|
||||
{
|
||||
/* enTlbBusDomain */
|
||||
CDD_IPMMU_DS0,
|
||||
|
||||
/* ulTlbId */
|
||||
0x4UL,
|
||||
|
||||
/* ucTlbSelection */
|
||||
0x2U,
|
||||
|
||||
/* ucTlbTranslationTable */
|
||||
CDD_IPMMU_MMU2,
|
||||
|
||||
/* ucTlbASID */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbAddressTranslationEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
},
|
||||
/* Index: 5 - CddIpmmuTlb_005 */
|
||||
{
|
||||
/* enTlbBusDomain */
|
||||
CDD_IPMMU_DS0,
|
||||
|
||||
/* ulTlbId */
|
||||
0x5UL,
|
||||
|
||||
/* ucTlbSelection */
|
||||
0x3U,
|
||||
|
||||
/* ucTlbTranslationTable */
|
||||
CDD_IPMMU_MMU3,
|
||||
|
||||
/* ucTlbASID */
|
||||
0x0U,
|
||||
|
||||
/* ucTlbAddressTranslationEnable */
|
||||
CDDIPMMU_ENABLE
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
#define CDDIPMMU_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "CddIpmmu_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Rfso_Cbk.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains call-back functions declaration. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddRfsoRCAR.dll version: 1.0.6, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddrfso\sample_application\V4H\19_11\config\App_CDD_RFSO_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddrfso\generator\V4H\R1911_CDD_RFSO_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Rfso.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:52
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_RFSO_CBK_H
|
||||
#define CDD_RFSO_CBK_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDRFSO_CBK_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDRFSO_CBK_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDRFSO_CBK_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define CDDRFSO_CBK_SW_MAJOR_VERSION 1U
|
||||
#define CDDRFSO_CBK_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#define CDDRFSO_START_SEC_APPL_CODE
|
||||
#include "CddRfso_MemMap.h"
|
||||
|
||||
/* CddRfso_IntervalCbkFunc function prototype */
|
||||
extern FUNC(void, CDDRFSO_APPL_CODE) CddRfso_IntervalCbkFunc
|
||||
(
|
||||
void
|
||||
);
|
||||
|
||||
#define CDDRFSO_STOP_SEC_APPL_CODE
|
||||
#include "CddRfso_MemMap.h"
|
||||
|
||||
|
||||
#endif /* CDD_RFSO_CBK_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,219 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Rfso_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddRfsoRCAR.dll version: 1.0.6, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddrfso\sample_application\V4H\19_11\config\App_CDD_RFSO_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddrfso\generator\V4H\R1911_CDD_RFSO_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Rfso.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:52
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_RFSO_CFG_H
|
||||
#define CDD_RFSO_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from */
|
||||
/* other macro identifier(s) (e.g. '%s') within the */
|
||||
/* specified number of significant characters. */
|
||||
/* Rule : MISRA C:2012 Rule-5.4 */
|
||||
/* REFERENCE - ISO:C90-6.1.2 Identifiers - Implementation */
|
||||
/* Limits. */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDRFSO_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDRFSO_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDRFSO_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define CDDRFSO_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CDDRFSO_CFG_SW_MINOR_VERSION 0U
|
||||
#define CDDRFSO_AR_VERSION CDDRFSO_AR_1911_VERSION
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CDDRFSO_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CDDRFSO_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CDDRFSO_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
|
||||
#define CDDRFSO_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CDDRFSO_SW_MINOR_VERSION_VALUE 0U
|
||||
#define CDDRFSO_SW_PATCH_VERSION_VALUE 7U
|
||||
|
||||
#define CDDRFSO_VENDOR_ID_VALUE 59U
|
||||
#define CDDRFSO_MODULE_ID_VALUE 255U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for Instance ID of the CDDRFSO Driver */
|
||||
#define CDDRFSO_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* Keycode value for FSO_CTL/FSO_CMD register */
|
||||
#define CDDRFSO_REG_FSO_KEYCODE 0x779A0000UL
|
||||
|
||||
/* Pre-compile option for Already Init Check */
|
||||
#define CDDRFSO_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Critical Section */
|
||||
#define CDDRFSO_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define CDDRFSO_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for Register Write Error Report */
|
||||
#define CDDRFSO_REGISTER_WRITE_VERIFY STD_ON
|
||||
|
||||
/* Pre-compile option for Dependencies Version Check */
|
||||
#define CDDRFSO_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for enable or disable unintended interrupt detection */
|
||||
#define CDDRFSO_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define CDDRFSO_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for DEM Register Write Verify Error Event */
|
||||
#define CDDRFSO_E_WRITE_VERIFY \
|
||||
DemConf_DemEventParameter_CDDRFSO_E_WRITE_VERIFY
|
||||
|
||||
/* Pre-compile option for DEM register for unintended interrupt check error */
|
||||
/* event */
|
||||
#define CDDRFSO_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_CDDRFSO_E_INTERRUPT_CONTROLLER_FAILURE
|
||||
|
||||
/* Supported Device Name */
|
||||
#define CDDRFSO_DEVICE_NAME V4H
|
||||
|
||||
/* Number of configured channel in {0} */
|
||||
#define CDDRFSO_NUM_CHANNEL_CONFIGURE 0x02U
|
||||
|
||||
|
||||
/* Channel Handles */
|
||||
#define CddRfsoConf_CddRfsoChannel_CddRfsoChannel (uint8)0x00U
|
||||
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define CddRfsoConf_CddRfsoChannel_CddRfsoChannel_001 (uint8)0x01U
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
|
||||
/* Configuration Set Handles */
|
||||
#define CddRfsoConf_CddGeneral_CddGeneral \
|
||||
(&CddRfso_GstConfiguration[0] )
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_RFSO_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,277 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Rfso_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post build parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddRfsoRCAR.dll version: 1.0.6, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddrfso\sample_application\V4H\19_11\config\App_CDD_RFSO_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddrfso\generator\V4H\R1911_CDD_RFSO_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Rfso.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:52
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "CDD_Rfso.h"
|
||||
#include "CDD_Rfso_PBTypes.h"
|
||||
#include "CDD_Rfso_Ram.h"
|
||||
#include "CDD_Rfso_Cbk.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1504) The object '%1s' is only referenced in the */
|
||||
/* translation unit where it is defined. */
|
||||
/* Rule : MISRA C:2012 Rule-8.7 CWE-398, CWE-569 */
|
||||
/* Justification : This is accepted, due to following coding rule, internal */
|
||||
/* function can be defined in other C source files */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1504)-1 and */
|
||||
/* END Msg(1:1504)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) #include statements in a file should only be */
|
||||
/* preceded by other preprocessor directives or comments. */
|
||||
/* Rule : MISRA-C:2004 Rule 20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, (MEMMAP003 - */
|
||||
/* Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-2 and */
|
||||
/* END Msg(4:5087)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define CDDRFSO_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDDRFSO_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDDRFSO_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define CDDRFSO_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define CDDRFSO_PBCFG_C_SW_MINOR_VERSION 0U
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (CDDRFSO_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
CDDRFSO_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "CDD_Rfso_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (CDDRFSO_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
CDDRFSO_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "CDD_Rfso_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (CDDRFSO_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
CDDRFSO_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "CDD_Rfso_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (CDDRFSO_PBTYPES_SW_MAJOR_VERSION != CDDRFSO_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "CDD_Rfso_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (CDDRFSO_PBTYPES_SW_MINOR_VERSION != CDDRFSO_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "CDD_Rfso_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define CDDRFSO_START_SEC_CONFIG_DATA_32
|
||||
#include "CddRfso_MemMap.h"
|
||||
|
||||
/* Global array for Global ConfigSet structure */
|
||||
CONST(CddRfso_ConfigType, CDDRFSO_CONFIG_DATA) CddRfso_GstConfiguration[] =
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0EFFC100UL,
|
||||
|
||||
/* pChannelConfig */
|
||||
&CddRfso_GstChannelConfig[0],
|
||||
|
||||
/* ucNumberOfChannelConfig */
|
||||
0x02U
|
||||
}
|
||||
};
|
||||
|
||||
/* Global array for Channel Configuration structure */
|
||||
/* MISRA Violation: START Msg(1:1504)-1 */
|
||||
CONST(CddRfso_ChannelConfigType, CDDRFSO_CONFIG_DATA)
|
||||
CddRfso_GstChannelConfig[] =
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* pIntervalTimerCallbackFunction */
|
||||
&CddRfso_IntervalCbkFunc,
|
||||
|
||||
/* enIntervalUnit */
|
||||
CDDRFSO_CYCLE,
|
||||
|
||||
/* enTimeoutUnit */
|
||||
CDDRFSO_CYCLE,
|
||||
|
||||
/* ulFrequencyDivision */
|
||||
0x000003E8UL,
|
||||
|
||||
/* ulIntervalTimerDuration */
|
||||
0x000186A0UL,
|
||||
|
||||
/* ulTimeoutTimerMaxDuration */
|
||||
0x0001D4C0UL,
|
||||
|
||||
/* ulTimeoutTimerMinDuration */
|
||||
0x00000000UL,
|
||||
|
||||
/* ucChannelSelection */
|
||||
CDDRFSO_CHANNEL0,
|
||||
|
||||
/* ucChannelId */
|
||||
0x00U,
|
||||
|
||||
/* ucIntervalTimerOneShot */
|
||||
CDDRFSO_DISABLE,
|
||||
|
||||
/* ucIntervalTimerInterruptEnable */
|
||||
CDDRFSO_DISABLE
|
||||
},
|
||||
/* Index: 1 - 1 */
|
||||
{
|
||||
/* pIntervalTimerCallbackFunction */
|
||||
&CddRfso_IntervalCbkFunc,
|
||||
|
||||
/* enIntervalUnit */
|
||||
CDDRFSO_MICROSECOND,
|
||||
|
||||
/* enTimeoutUnit */
|
||||
CDDRFSO_MICROSECOND,
|
||||
|
||||
/* ulFrequencyDivision */
|
||||
0x000003E8UL,
|
||||
|
||||
/* ulIntervalTimerDuration */
|
||||
0x000411AAUL,
|
||||
|
||||
/* ulTimeoutTimerMaxDuration */
|
||||
0x000208D5UL,
|
||||
|
||||
/* ulTimeoutTimerMinDuration */
|
||||
0x00001A0AUL,
|
||||
|
||||
/* ucChannelSelection */
|
||||
CDDRFSO_CHANNEL1,
|
||||
|
||||
/* ucChannelId */
|
||||
0x01U,
|
||||
|
||||
/* ucIntervalTimerOneShot */
|
||||
CDDRFSO_ENABLE,
|
||||
|
||||
/* ucIntervalTimerInterruptEnable */
|
||||
CDDRFSO_ENABLE
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-1 */
|
||||
|
||||
#define CDDRFSO_STOP_SEC_CONFIG_DATA_32
|
||||
/* MISRA Violation: START Msg(4:5087)-2 */
|
||||
#include "CddRfso_MemMap.h"
|
||||
/* END Msg(4:5087)-2 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,221 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Ths_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
* V1.0.0: 01-Apr-2022 : Initial Version
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddThsRCAR.dll version: 1.0.2, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddths\sample_application\V4H\19_11\config\App_CDD_THS_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddths\generator\V4H\R1911_CDD_THS_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Ths.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:23
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_THS_CFG_H
|
||||
#define CDD_THS_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDD_THS_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDD_THS_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDD_THS_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDD_THS_CFG_SW_MAJOR_VERSION 1U
|
||||
#define CDD_THS_CFG_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define CDD_THS_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define CDD_THS_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define CDD_THS_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define CDD_THS_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define CDD_THS_SW_MINOR_VERSION_VALUE 0U
|
||||
#define CDD_THS_SW_PATCH_VERSION_VALUE 8U
|
||||
#define CDD_THS_VENDOR_ID_VALUE 59U
|
||||
#define CDD_THS_MODULE_ID_VALUE 255U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for protecting critical section */
|
||||
#define CDD_THS_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for the development error detection and reporting */
|
||||
#define CDD_THS_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for checking writen value to Register */
|
||||
#define CDD_THS_WRITEVERIFY_CHECK STD_ON
|
||||
|
||||
/* Pre-compile option for enable or disable version check of inter-module */
|
||||
#define CDD_THS_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for CddTHS_GetVersion API */
|
||||
#define CDD_THS_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for CddTHS_GetCurrentTemperature API */
|
||||
#define CDD_THS_TEMPERATURE_INFO STD_ON
|
||||
|
||||
/* Pre-compile option for CddTHS_GetCurrentVoltage API */
|
||||
#define CDD_THS_VOLTAGE_INFO STD_ON
|
||||
|
||||
/* Pre-compile option for changing operation state */
|
||||
#define CDD_THS_OPERATION_STATE_CFG STD_ON
|
||||
|
||||
/* Enable/disable thermal interruption feature */
|
||||
#define CDD_THS_THERMAL_INTERRUPTION STD_ON
|
||||
|
||||
/* The failure of WriteVerifyCheck is reported using the following Error */
|
||||
/* code */
|
||||
#define CDD_THS_E_WRITEVERIFY_FAILURE \
|
||||
DemConf_DemEventParameter_CDD_THS_E_WRITEVERIFY_FAILURE
|
||||
|
||||
/* Pre-compile option for instance ID value */
|
||||
#define CDD_THS_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* Pre-compile option for THS Device Supported */
|
||||
#define CDD_THS_DEVICE_SUPPORTED V4H
|
||||
|
||||
/* Pre-compile option for THS Hardware Unit */
|
||||
#define CDD_THS_HW_UNIT_CONFIGURED THS_TSC1
|
||||
|
||||
/* Define PTAT1 value to be used in adjusting the characteristics */
|
||||
#define CDD_THS_PTAT1_DEFAULT_VALUE (sint32) 2631L
|
||||
|
||||
/* Define PTAT2 value to be used in adjusting the characteristics */
|
||||
#define CDD_THS_PTAT2_DEFAULT_VALUE (sint32) 1509L
|
||||
|
||||
/* Define PTAT3 value to be used in adjusting the characteristics */
|
||||
#define CDD_THS_PTAT3_DEFAULT_VALUE (sint32) 435L
|
||||
|
||||
/* Define THCODE1 value to be used in adjusting the characteristics */
|
||||
#define CDD_THS_THCODE1_DEFAULT_VALUE (sint32) 3397L
|
||||
|
||||
/* Define THCODE2 value to be used in adjusting the characteristics */
|
||||
#define CDD_THS_THCODE2_DEFAULT_VALUE (sint32) 2800L
|
||||
|
||||
/* Define THCODE3 value to be used in adjusting the characteristics */
|
||||
#define CDD_THS_THCODE3_DEFAULT_VALUE (sint32) 2221L
|
||||
|
||||
/* Enable/disable ISR thermal channel 0 */
|
||||
#define CDD_THS_THERMAL0_ISR_API STD_ON
|
||||
|
||||
/* Enable/disable ISR thermal channel 1 */
|
||||
#define CDD_THS_THERMAL1_ISR_API STD_ON
|
||||
|
||||
/* Enable/disable ISR thermal channel 2 */
|
||||
#define CDD_THS_THERMAL2_ISR_API STD_ON
|
||||
|
||||
/* Pre-compile option for Timeout Count 100 us */
|
||||
#define CDD_THS_TIMEOUT_100US_COUNT 20000U
|
||||
|
||||
/* Pre-compile option for Timeout Count 2000 us */
|
||||
#define CDD_THS_TIMEOUT_2000US_COUNT 400000U
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Configuration Set Handles */
|
||||
#define CddConfigSet \
|
||||
(&CddThs_GstConfiguration[0])
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_THS_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,240 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Ths_Reg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains register addresses used */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
* V1.0.1: 16-Feb-2023 : Remove macros related to THINITSTR, SEQ_ACT_MON,
|
||||
* CVM_CTRL, IRQCTL
|
||||
* V1.0.0: 01-Apr-2022 : Initial Version
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddThsRCAR.dll version: 1.0.2, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddths\sample_application\V4H\19_11\config\App_CDD_THS_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddths\generator\V4H\R1911_CDD_THS_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Ths.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:23
|
||||
*/
|
||||
|
||||
|
||||
#ifndef CDD_THS_REG_H
|
||||
#define CDD_THS_REG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* PTAT Parameter 1 Register */
|
||||
#define CDD_THS_PTAT1 \
|
||||
(*((volatile uint32*)0xE61981C0UL))
|
||||
|
||||
/* PTAT Parameter 1 Register */
|
||||
#define CDD_THS_PTAT1_ADDRESS ((uint32)0xE61981C0UL)
|
||||
|
||||
/* PTAT Parameter 2 Register */
|
||||
#define CDD_THS_PTAT2 \
|
||||
(*((volatile uint32*)0xE61981C4UL))
|
||||
|
||||
/* PTAT Parameter 2 Register */
|
||||
#define CDD_THS_PTAT2_ADDRESS ((uint32)0xE61981C4UL)
|
||||
|
||||
/* PTAT Parameter 3 Register */
|
||||
#define CDD_THS_PTAT3 \
|
||||
(*((volatile uint32*)0xE61981BCUL))
|
||||
|
||||
/* PTAT Parameter 3 Register */
|
||||
#define CDD_THS_PTAT3_ADDRESS ((uint32)0xE61981BCUL)
|
||||
|
||||
/* THCODE Parameter 1 Register */
|
||||
#define CDD_THS_THCODE1 \
|
||||
(*((volatile uint32*)0xE6198184UL))
|
||||
|
||||
/* THCODE Parameter 1 Register */
|
||||
#define CDD_THS_THCODE1_ADDRESS ((uint32)0xE6198184UL)
|
||||
|
||||
/* THCODE Parameter 2 Register */
|
||||
#define CDD_THS_THCODE2 \
|
||||
(*((volatile uint32*)0xE6198188UL))
|
||||
|
||||
/* THCODE Parameter 2 Register */
|
||||
#define CDD_THS_THCODE2_ADDRESS ((uint32)0xE6198188UL)
|
||||
|
||||
/* THCODE Parameter 3 Register */
|
||||
#define CDD_THS_THCODE3 \
|
||||
(*((volatile uint32*)0xE6198180UL))
|
||||
|
||||
/* THCODE Parameter 3 Register */
|
||||
#define CDD_THS_THCODE3_ADDRESS ((uint32)0xE6198180UL)
|
||||
|
||||
/* Temperature Error 1 Register */
|
||||
#define CDD_THS_IRQTEMP1 \
|
||||
(*((volatile uint32*)0xE6198014UL))
|
||||
|
||||
/* Temperature Error 1 Register */
|
||||
#define CDD_THS_IRQTEMP1_ADDRESS ((uint32)0xE6198014UL)
|
||||
|
||||
/* Temperature Error 2 Register */
|
||||
#define CDD_THS_IRQTEMP2 \
|
||||
(*((volatile uint32*)0xE6198018UL))
|
||||
|
||||
/* Temperature Error 2 Register */
|
||||
#define CDD_THS_IRQTEMP2_ADDRESS ((uint32)0xE6198018UL)
|
||||
|
||||
/* Temperature Error 3 Register */
|
||||
#define CDD_THS_IRQTEMP3 \
|
||||
(*((volatile uint32*)0xE619801CUL))
|
||||
|
||||
/* Temperature Error 3 Register */
|
||||
#define CDD_THS_IRQTEMP3_ADDRESS ((uint32)0xE619801CUL)
|
||||
|
||||
/* Voltage Register */
|
||||
#define CDD_THS_VOLT \
|
||||
(*((volatile uint32*)0xE619802CUL))
|
||||
|
||||
/* Voltage Register */
|
||||
#define CDD_THS_VOLT_ADDRESS ((uint32)0xE619802CUL)
|
||||
|
||||
/* Temperature Register */
|
||||
#define CDD_THS_TEMP \
|
||||
(*((volatile uint32*)0xE6198028UL))
|
||||
|
||||
/* Temperature Register */
|
||||
#define CDD_THS_TEMP_ADDRESS ((uint32)0xE6198028UL)
|
||||
|
||||
/* Temperature Error Mask Register */
|
||||
#define CDD_THS_IRQMSK \
|
||||
(*((volatile uint32*)0xE6198008UL))
|
||||
|
||||
/* Temperature Error Mask Register */
|
||||
#define CDD_THS_IRQMSK_ADDRESS ((uint32)0xE6198008UL)
|
||||
|
||||
/* Software Correction Parameter Register */
|
||||
#define CDD_THS_THSCP \
|
||||
(*((volatile uint32*)0xE6198068UL))
|
||||
|
||||
/* Software Correction Parameter Register */
|
||||
#define CDD_THS_THSCP_ADDRESS ((uint32)0xE6198068UL)
|
||||
|
||||
/* Control Register */
|
||||
#define CDD_THS_THCTR \
|
||||
(*((volatile uint32*)0xE6198020UL))
|
||||
|
||||
/* Control Register */
|
||||
#define CDD_THS_THCTR_ADDRESS ((uint32)0xE6198020UL)
|
||||
|
||||
/* Temperature Error Status Register */
|
||||
#define CDD_THS_IRQSTR \
|
||||
(*((volatile uint32*)0xE6198004UL))
|
||||
|
||||
/* Temperature Error Status Register */
|
||||
#define CDD_THS_IRQSTR_ADDRESS ((uint32)0xE6198004UL)
|
||||
|
||||
/* Temperature Error Enable Register */
|
||||
#define CDD_THS_IRQEN \
|
||||
(*((volatile uint32*)0xE6198010UL))
|
||||
|
||||
/* Temperature Error Enable Register */
|
||||
#define CDD_THS_IRQEN_ADDRESS ((uint32)0xE6198010UL)
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* CDD_THS_REG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,251 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = CDD_Ths_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post build parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/*
|
||||
* V1.0.1: 09-Jun-2022 : - Update type of parameter CddThs_GstThermalChannel
|
||||
* from VAR to CONST
|
||||
* - Move CddThs_GstThermalChannel to memmap
|
||||
* CDD_THS_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
* V1.0.0: 01-Apr-2022 : Initial Version
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: CddThsRCAR.dll version: 1.0.2, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddths\sample_application\V4H\19_11\config\App_CDD_THS_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\cddths\generator\V4H\R1911_CDD_THS_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_CDD_Ths.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:12:23
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "CDD_Ths_PBTypes.h"
|
||||
#include "CDD_Ths.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2004 Rule 19.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-1 and */
|
||||
/* END Msg(4:5087)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1504) The object '%1s' is only referenced in */
|
||||
/* the translation unit where it is defined. */
|
||||
/* Rule : MISRA-C:2004 Rule 8.10 */
|
||||
/* Justification : This is accepted, due to following coding rule, */
|
||||
/* internal function can be defined in other C source files */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1504)-2 and */
|
||||
/* END Msg(1:1504)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define CDD_THS_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define CDD_THS_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define CDD_THS_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define CDD_THS_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define CDD_THS_PBCFG_C_SW_MINOR_VERSION 0U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (CDD_THS_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
CDD_THS_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "CDD_Ths_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (CDD_THS_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
CDD_THS_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "CDD_Ths_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (CDD_THS_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
CDD_THS_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "CDD_Ths_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (CDD_THS_PBTYPES_SW_MAJOR_VERSION != CDD_THS_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "CDD_Ths_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (CDD_THS_PBTYPES_SW_MINOR_VERSION != CDD_THS_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "CDD_Ths_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define CDD_THS_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
#include "CddThs_MemMap.h"
|
||||
|
||||
/* Structure for CDD_THS Thermal channel configuration */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(CddThs_ThermalChannel, CDDTHS_CONFIG_DATA) CddThs_GstThermalChannel[3] =
|
||||
{
|
||||
/* Index: 0 - CddThsThermalChannel_0 */
|
||||
{
|
||||
/* ddChannelId */
|
||||
CDD_THS_THERMAL_CH0,
|
||||
|
||||
/* biChannelStatus */
|
||||
STD_ON,
|
||||
|
||||
/* ddInterruptionType */
|
||||
CDD_THS_LOWER_BOUND,
|
||||
|
||||
/* siInterruptionValue */
|
||||
20
|
||||
},
|
||||
/* Index: 1 - CddThsThermalChannel_1 */
|
||||
{
|
||||
/* ddChannelId */
|
||||
CDD_THS_THERMAL_CH1,
|
||||
|
||||
/* biChannelStatus */
|
||||
STD_ON,
|
||||
|
||||
/* ddInterruptionType */
|
||||
CDD_THS_LOWER_BOUND,
|
||||
|
||||
/* siInterruptionValue */
|
||||
20
|
||||
},
|
||||
/* Index: 2 - CddThsThermalChannel_2 */
|
||||
{
|
||||
/* ddChannelId */
|
||||
CDD_THS_THERMAL_CH2,
|
||||
|
||||
/* biChannelStatus */
|
||||
STD_ON,
|
||||
|
||||
/* ddInterruptionType */
|
||||
CDD_THS_LOWER_BOUND,
|
||||
|
||||
/* siInterruptionValue */
|
||||
20
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
/* Structure for CDD_THS Init configuration */
|
||||
CONST(CddThs_ChannelConfigType, CDDTHS_CONFIG_DATA) CddThs_GstConfiguration[1]
|
||||
=
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0EFFC100UL,
|
||||
|
||||
/* ddInitialOperationState */
|
||||
CDD_THS_NORMAL,
|
||||
|
||||
/* pThermalInterruptionConfig */
|
||||
&CddThs_GstThermalChannel[0]
|
||||
}
|
||||
};
|
||||
|
||||
#define CDD_THS_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "CddThs_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,218 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Dio_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: DioRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\dio\sample_application\V4H\19_11\config\App_DIO_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Dio.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\dio\generator\V4H\R1911_DIO_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:10:38
|
||||
*/
|
||||
|
||||
|
||||
#ifndef DIO_CFG_H
|
||||
#define DIO_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4, CERT-C CERTCCM DCL23 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define DIO_AR_VERSION DIO_AR_1911_VERSION
|
||||
/* AUTOSAR release version information */
|
||||
#define DIO_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define DIO_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define DIO_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File version information */
|
||||
#define DIO_CFG_SW_MAJOR_VERSION 1U
|
||||
#define DIO_CFG_SW_MINOR_VERSION 4U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define DIO_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define DIO_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define DIO_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define DIO_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define DIO_SW_MINOR_VERSION_VALUE 4U
|
||||
#define DIO_SW_PATCH_VERSION_VALUE 0U
|
||||
#define DIO_VENDOR_ID_VALUE 59U
|
||||
#define DIO_MODULE_ID_VALUE 120U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Instance ID of the DIO Driver */
|
||||
#define DIO_INSTANCE_ID_VALUE 0U
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define DIO_VERSION_INFO_API STD_ON
|
||||
/* Pre-compile option for presence of Dio_MaskedWritePort API */
|
||||
#define DIO_MASKED_WRITE_PORT_API STD_ON
|
||||
/* Pre-compile option for presence of Dio_FlipChannel API */
|
||||
#define DIO_FLIP_CHANNEL_API STD_ON
|
||||
/* Pre-compile option for presence of Dio_ReadChannelOutputValue API */
|
||||
#define DIO_READ_CHANNEL_OUTPUT_VALUE_API STD_ON
|
||||
/* Pre-compile option for presence of Dio_ReadChannelGroupOutputValue API */
|
||||
#define DIO_READ_CHANNELGROUP_OUTPUT_VALUE_API STD_ON
|
||||
/* Pre-compile option for Exclusive Control API */
|
||||
#define DIO_EXCLUSIVE_CONTROL STD_OFF
|
||||
/* Pre-compile option for presence of Channel */
|
||||
#define DIO_CHANNEL_CONFIGURED STD_ON
|
||||
/* Pre-compile option for presence of Channel Group */
|
||||
#define DIO_CHANNELGROUP_CONFIGURED STD_ON
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define DIO_DEV_ERROR_DETECT STD_OFF
|
||||
/* Pre-compile option for Dem Error Detect */
|
||||
#define DIO_DEM_ERROR_DETECT STD_OFF
|
||||
/* Pre-compile option for version check of inter-module dependencies */
|
||||
#define DIO_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
/* Pre-compile option for critical section protection */
|
||||
#define DIO_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
/* Pre-compile option for maximum of Port Width */
|
||||
#define DIO_MAX_PORT_WIDTH 0x20U
|
||||
/* The address of MFISLCKRn register */
|
||||
#define DIO_MFISLCKR_ADDRESS 0xE62600C4UL
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Total number of configured ports */
|
||||
#define DIO_MAXNOOFPORT (Dio_PortType)2
|
||||
/* Total number of configured channels */
|
||||
#define DIO_MAXNOOFCHANNEL (Dio_ChannelType)2
|
||||
/* Maximum exclusive time out */
|
||||
#define DIO_EXCLUSIVE_CONTROL_TIMEOUT 0x0003E99AU
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* DIO Port Configuration Handles */
|
||||
#define DioConf_DioPort_DioPort_004 (Dio_PortType)0
|
||||
#define DioConf_DioPort_DioPort_005 (Dio_PortType)1
|
||||
/* DIO Channel Configuration Handles */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define DioConf_DioChannel_DioChannel0_Gr4 (Dio_ChannelType)0
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define DioConf_DioChannel_DioChannel0_Gr5 (Dio_ChannelType)1
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* DIO Channel Group Configuration Handles */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define DioConf_DioChannelGroup_DioChannelGroup4 \
|
||||
(&Dio_GaaChannelGroupData[0])
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define DioConf_DioChannelGroup_DioChannelGroup5 \
|
||||
(&Dio_GaaChannelGroupData[1])
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* Channel Mapping for DioChannelBitPosition */
|
||||
#define DioConfig_DioChannel0_Gr4_bit (uint32)0x00000000
|
||||
#define DioConfig_DioChannel0_Gr5_bit (uint32)0x00000000
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* DIO_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,363 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Dio_Lcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains link time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: DioRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\dio\sample_application\V4H\19_11\config\App_DIO_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Dio.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\dio\generator\V4H\R1911_DIO_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:10:38
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "Dio.h"
|
||||
#include "Dio_LTTypes.h"
|
||||
#include "Dio_PFC_LLDriver.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0303) Cast between a pointer to volatile object and */
|
||||
/* an integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule 11.4, CWE-398, CWE-569 */
|
||||
/* CERT-C CERTCCM INT36 */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0303)-1 and */
|
||||
/* END Msg(2:0303)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1504) The object 'name' is only referenced in the */
|
||||
/* translation unit where it is defined. */
|
||||
/* Rule : MISRA C:2012 Rule-8.7, CWE-398, CWE-569 */
|
||||
/* CERT-C CERTCCM DCL15, DCL19 */
|
||||
/* Justification : This is accepted, due to following coding rule, internal */
|
||||
/* function can be defined in other C source files */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1504)-2 and */
|
||||
/* END Msg(1:1504)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) #include statements in a file should only be */
|
||||
/* preceded by other preprocessor directives or comments. */
|
||||
/* Rule : MISRA-C:2004 Rule 19.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-3 and */
|
||||
/* END Msg(4:5087)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1531) The object 'name' is referenced in only one */
|
||||
/* translation unit - but not the one in which it is defined. */
|
||||
/* Rule : MISRA C:2012 Rule-8.7, CWE-398, CWE-569 */
|
||||
/* CERT-C CERTCCM DCL15, DCL19 */
|
||||
/* Justification : Followed coding rules, the objects (global variable/const) */
|
||||
/* is define in separated source file, */
|
||||
/* so this could be accepted */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1531)-4 and */
|
||||
/* END Msg(1:1531)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 5. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3432) Simple macro argument expression is not */
|
||||
/* parenthesized. */
|
||||
/* Rule : MISRA C:2012 Rule-20.7, CWE-398, CWE-569 */
|
||||
/* Justification : Compiler keyword (macro) is defined and used followed */
|
||||
/* AUTOSAR standard rule. It is accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3432)-5 and */
|
||||
/* END Msg(2:3432)-5 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 6. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1502) The object '%1s' is defined but */
|
||||
/* is not used within this project. */
|
||||
/* Rule : MISRA-C:2012 Rule-2.8, CWE-398, CWE-569 */
|
||||
/* Justification : This is accepted, due to the module's object is */
|
||||
/* exported for usage. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1502)-6 and */
|
||||
/* END Msg(1:1502)-6 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define DIO_LCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define DIO_LCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define DIO_LCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File version information */
|
||||
#define DIO_LCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define DIO_LCFG_C_SW_MINOR_VERSION 4U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
|
||||
#if (DIO_LTTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
DIO_LCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Dio_Lcfg.c : Mismatch in Major Version"
|
||||
#endif
|
||||
|
||||
#if (DIO_LTTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
DIO_LCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Dio_Lcfg.c : Mismatch in Minor Version"
|
||||
#endif
|
||||
|
||||
#if (DIO_LTTYPES_AR_RELEASE_PATCH_VERSION != \
|
||||
DIO_LCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Dio_Lcfg.c : Mismatch in Patch Version"
|
||||
#endif
|
||||
|
||||
#if (DIO_LTTYPES_SW_MAJOR_VERSION != DIO_LCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Dio_Lcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (DIO_LTTYPES_SW_MINOR_VERSION != DIO_LCFG_C_SW_MINOR_VERSION)
|
||||
#error "Dio_Lcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define DIO_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Dio_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
/* Structure of DIO Port Group Configuration */
|
||||
/* MISRA Violation: START Msg(1:1531)-4 */
|
||||
CONST(Dio_PortGroup, DIO_CONFIG_DATA) Dio_GaaPortGroup[] =
|
||||
{
|
||||
/* Index: 0 - DioPort_004 */
|
||||
{
|
||||
/* pPortAddress */
|
||||
/* MISRA Violation: START Msg(2:0303)-1 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(volatile uint32, TYPEDEF, REGSPACE))0xE6060180UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0303)-1 */
|
||||
|
||||
/* ulModeMask */
|
||||
0x01FFFFFFUL
|
||||
},
|
||||
/* Index: 1 - DioPort_005 */
|
||||
{
|
||||
/* pPortAddress */
|
||||
/* MISRA Violation: START Msg(2:0303)-1 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(volatile uint32, TYPEDEF, REGSPACE))0xE6060980UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0303)-1 */
|
||||
|
||||
/* ulModeMask */
|
||||
0x001FFFFFUL
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1531)-4 */
|
||||
|
||||
/* Data Structure of DIO Port Channel Configuration */
|
||||
/* MISRA Violation: START Msg(1:1531)-4 */
|
||||
CONST(Dio_PortChannel, DIO_CONFIG_DATA) Dio_GaaPortChannel[] =
|
||||
{
|
||||
/* Index: 0 - DioChannel0_Gr4 */
|
||||
{
|
||||
/* ulMask */
|
||||
0x00000001U,
|
||||
|
||||
/* ucPortIndex */
|
||||
0x00U
|
||||
},
|
||||
/* Index: 1 - DioChannel0_Gr5 */
|
||||
{
|
||||
/* ulMask */
|
||||
0x00000001U,
|
||||
|
||||
/* ucPortIndex */
|
||||
0x01U
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1531)-4 */
|
||||
|
||||
/* Structure for DIO HW Register Offset */
|
||||
CONST(Dio_HwRegOffsetType, DIO_CONFIG_DATA) Dio_GstPFCRegOffset =
|
||||
{
|
||||
/* ulIOINTSEL */
|
||||
0x00000000UL,
|
||||
/* ulINOUTSEL */
|
||||
0x00000001UL,
|
||||
/* ulOUTDT */
|
||||
0x00000002UL,
|
||||
/* ulINDT */
|
||||
0x00000003UL,
|
||||
/* ulOUTDTSEL */
|
||||
0x00000010UL,
|
||||
/* ulOUTDTH */
|
||||
0x00000011UL,
|
||||
/* ulOUTDTL */
|
||||
0x00000012UL
|
||||
};
|
||||
|
||||
/* Structure of PFC Function Table Configuration */
|
||||
/* MISRA Violation: START Msg(1:1504)-2 */
|
||||
CONST(Dio_HwFuncTableType, DIO_CONFIG_DATA) Dio_GstPFCFuncTable =
|
||||
{
|
||||
/* pHwReadPort */
|
||||
&Dio_PFCReadPort,
|
||||
/* pHwWritePort */
|
||||
&Dio_PFCWritePort,
|
||||
/* pHwFlipChannel */
|
||||
&Dio_PFCFlipChannel,
|
||||
/* pHwReadOutputValue */
|
||||
&Dio_PFCReadPortOutRegister
|
||||
};
|
||||
/* END Msg(1:1504)-2 */
|
||||
|
||||
/* Data Structure of Hardware Configuration */
|
||||
/* MISRA Violation: START Msg(1:1531)-4 */
|
||||
CONST(Dio_HwConfigType, DIO_CONFIG_DATA) Dio_GstHwConfig =
|
||||
{
|
||||
/* pHwRegOffset */
|
||||
&Dio_GstPFCRegOffset,
|
||||
/* pHwFunc */
|
||||
&Dio_GstPFCFuncTable
|
||||
};
|
||||
/* END Msg(1:1531)-4 */
|
||||
|
||||
/* Data Structure of DIO Port Channel Group Configuration */
|
||||
/* QAC Warning: START Msg(1:1502)-6 */
|
||||
CONST(Dio_ChannelGroupType, DIO_CONFIG_DATA) Dio_GaaChannelGroupData[] =
|
||||
{
|
||||
/* Index: 0 - DioChannelGroup4 */
|
||||
{
|
||||
/* ulMask */
|
||||
0x000003FFU,
|
||||
|
||||
/* ucOffset */
|
||||
0x00U,
|
||||
|
||||
/* ucPortIndex */
|
||||
0x00U
|
||||
},
|
||||
/* Index: 1 - DioChannelGroup5 */
|
||||
{
|
||||
/* ulMask */
|
||||
0x0000001FU,
|
||||
|
||||
/* ucOffset */
|
||||
0x00U,
|
||||
|
||||
/* ucPortIndex */
|
||||
0x01U
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1502)-6 */
|
||||
|
||||
#define DIO_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-3 */
|
||||
#include "Dio_MemMap.h"
|
||||
/* END Msg(4:5087)-3 */
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,369 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Eth_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: EthRCAR.dll version: 1.2.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\eth\sample_application\V4H\19_11\config\App_ETH_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_ETH_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Eth.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\eth\generator\V4H\R1911_ETH_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_Eth.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:47
|
||||
*/
|
||||
|
||||
|
||||
#ifndef ETH_CFG_H
|
||||
#define ETH_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4, CERTCCM DCL23 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define ETH_AR_VERSION ETH_AR_1911_VERSION
|
||||
/* AUTOSAR release version information */
|
||||
#define ETH_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define ETH_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define ETH_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
/* File version information */
|
||||
#define ETH_CFG_SW_MAJOR_VERSION 1U
|
||||
#define ETH_CFG_SW_MINOR_VERSION 5U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define ETH_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define ETH_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define ETH_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define ETH_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define ETH_SW_MINOR_VERSION_VALUE 5U
|
||||
#define ETH_SW_PATCH_VERSION_VALUE 0U
|
||||
#define ETH_VENDOR_ID_VALUE 59U
|
||||
#define ETH_MODULE_ID_VALUE 88U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for Version Info API */
|
||||
#define ETH_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for AVB0 data interrupt */
|
||||
#define ETH_AVB0_DATA_ISR STD_OFF
|
||||
/* Pre-compile option for AVB0 error interrupt */
|
||||
#define ETH_AVB0_ERR_ISR STD_ON
|
||||
/* Pre-compile option for AVB0 mac interrupt */
|
||||
#define ETH_AVB0_MAC_ISR STD_ON
|
||||
/* Pre-compile option for AVB1 data interrupt */
|
||||
#define ETH_AVB1_DATA_ISR STD_OFF
|
||||
/* Pre-compile option for AVB1 error interrupt */
|
||||
#define ETH_AVB1_ERR_ISR STD_ON
|
||||
/* Pre-compile option for AVB1 mac interrupt */
|
||||
#define ETH_AVB1_MAC_ISR STD_ON
|
||||
/* Pre-compile option for AVB2 data interrupt */
|
||||
#define ETH_AVB2_DATA_ISR STD_OFF
|
||||
/* Pre-compile option for AVB2 error interrupt */
|
||||
#define ETH_AVB2_ERR_ISR STD_ON
|
||||
/* Pre-compile option for AVB2 mac interrupt */
|
||||
#define ETH_AVB2_MAC_ISR STD_ON
|
||||
/* Pre-compile for Separation Filtering */
|
||||
#define ETH_STREAM_FILTERING STD_ON
|
||||
#define ETH_GET_COUNTER_VALUES_API STD_ON
|
||||
#define ETH_GET_TX_ERROR_COUNTER_VALUES_API STD_ON
|
||||
/* Pre-compile option for EthGetDropCountApi API */
|
||||
#define ETH_GET_DROP_COUNT_API STD_OFF
|
||||
/* Pre-compile option for EthGetEtherStatsApi API */
|
||||
#define ETH_GET_ETHER_STATS_API STD_OFF
|
||||
#define ETH_GET_RX_STATS_API STD_ON
|
||||
#define ETH_GET_TX_STATS_API STD_ON
|
||||
/* Pre-compile option for Control Enable for Address Filtering */
|
||||
#define ETH_UPDATE_PHYS_ADDR_FILTER STD_ON
|
||||
|
||||
/* Pre-compile option for Development Error Detect */
|
||||
#define ETH_DEV_ERROR_DETECT STD_OFF
|
||||
/* Pre-compile option for enable or disable the critical section protection */
|
||||
#define ETH_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
/* Pre-compile option for enable or disable version check of inter-module */
|
||||
/* dependencies */
|
||||
#define ETH_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
/* Whether Eth uses Category 1 or Category 2 */
|
||||
#define ETH_ISR_CATEGORY_2 STD_OFF
|
||||
/* Pre-compile option for MII Control Enable */
|
||||
#define ETH_CTRL_ENABLE_MII STD_ON
|
||||
/* Pre-compile option for Control Enable for receive Interrupt */
|
||||
#define ETH_CTRL_ENABLE_RX_INTERRUPT STD_OFF
|
||||
/* Pre-compile option for Control Enable for transmit Interrupt */
|
||||
#define ETH_CTRL_ENABLE_TX_INTERRUPT STD_OFF
|
||||
#define ETH_CTRL_ENABLE_RX_POLLING STD_ON
|
||||
#define ETH_CTRL_ENABLE_TX_POLLING STD_ON
|
||||
|
||||
/* Pre-compile option for GlobalTime APIs */
|
||||
#define ETH_GLOBAL_TIME_SUPPORT STD_ON
|
||||
/* PreCompile Option to enable / disable the Priority in Transmission */
|
||||
#define ETH_QOS_SUPPORT STD_ON
|
||||
#define ETH_ETHSWITCH_MANAGEMENT_SUPPORT STD_OFF
|
||||
/* Enable / disable the checking whether registers are not stuck in Eth_Init */
|
||||
#define ETH_REGISTER_CHECK_INITTIME STD_OFF
|
||||
/* Enable / disable the checking whether registers are not corrupted in */
|
||||
/* Eth_MainFunction */
|
||||
#define ETH_REGISTER_CHECK_RUNTIME STD_OFF
|
||||
/* Enable/Disable Unintended Interrupt Check */
|
||||
#define ETH_UNINTENDED_INTERRUPT_CHECK STD_OFF
|
||||
/* Using macro */
|
||||
#define ETH_USING_MACRO ETH_MACRO_AVB
|
||||
#define ETH_HW_COMMON_INIT
|
||||
|
||||
/* Instance ID of the ETH Driver */
|
||||
#define ETH_INSTANCE_ID_VALUE 0U
|
||||
/* Maximum Ethernet Controllers Supported */
|
||||
#define ETH_MAX_CTRLS_SUPPORTED 0x03U
|
||||
/* Total number of Ethernet controller config available */
|
||||
#define ETH_TOTAL_CTRL_CONFIG (uint8)0x03U
|
||||
/* Maximum Ethernet Timeout Count */
|
||||
#define ETH_TIMEOUT_COUNT (uint32)63158
|
||||
/* Ethernet EthRxBufTotal */
|
||||
#define ETH_RX_BUF_TOTAL (uint16)0x0008U
|
||||
/* The used Controller Index in Configset */
|
||||
#define ETH_CTRLIDX_CONFIGSET_0 (uint8)0x00U
|
||||
#define ETH_CTRLIDX_CONFIGSET_1 (uint8)0x01U
|
||||
#define ETH_CTRLIDX_CONFIGSET_2 (uint8)0x02U
|
||||
|
||||
/* Peripheral clock value for the ETH Macro in Hz */
|
||||
#define ETH_PERI_CLOCK_HZ (uint32)100000000UL
|
||||
/* Maximum number of tx descriptors */
|
||||
#define ETH_TX_DESC_MAX 32U
|
||||
/* Ethernet RxBufLenByte */
|
||||
#define ETH_CTRL_RX_BUF_LEN_BYTE_0 (uint16)0x0000U
|
||||
#define ETH_CTRL_RX_BUF_LEN_BYTE_1 (uint16)0x0000U
|
||||
#define ETH_CTRL_RX_BUF_LEN_BYTE_2 (uint16)0x0000U
|
||||
/* Ethernet TxBufLenByte */
|
||||
#define ETH_CTRL_TX_BUF_LEN_BYTE_0 (uint16)0x0000U
|
||||
#define ETH_CTRL_TX_BUF_LEN_BYTE_1 (uint16)0x0000U
|
||||
#define ETH_CTRL_TX_BUF_LEN_BYTE_2 (uint16)0x0000U
|
||||
/* Ethernet TxBufTotal */
|
||||
#define ETH_TX_BUF_TOTAL_0 (uint16)0x0000U
|
||||
#define ETH_TX_BUF_TOTAL_1 (uint16)0x0000U
|
||||
#define ETH_TX_BUF_TOTAL_2 (uint16)0x0000U
|
||||
/* Ethernet EthRxBufTotal */
|
||||
#define ETH_RX_BUF_TOTAL_0 (uint16)0x0000U
|
||||
#define ETH_RX_BUF_TOTAL_1 (uint16)0x0000U
|
||||
#define ETH_RX_BUF_TOTAL_2 (uint16)0x0000U
|
||||
/* Size of the URAM allocated for eth driver */
|
||||
#define ETH_RAM_SIZE_0 (uint32)0x00018AD0UL
|
||||
#define ETH_RAM_SIZE_1 (uint32)0x00018AD0UL
|
||||
#define ETH_RAM_SIZE_2 (uint32)0x00018AD0UL
|
||||
/* Size of the URAM allocated for descriptor of eth driver */
|
||||
#define ETH_DESC_SIZE_0 (uint32)0x00000530UL
|
||||
#define ETH_DESC_SIZE_1 (uint32)0x00000530UL
|
||||
#define ETH_DESC_SIZE_2 (uint32)0x00000530UL
|
||||
|
||||
#define ETHAVB0 ETH_CTRLIDX_CONFIGSET_0
|
||||
#define ETH_TX_QUEUE_CONFIG_0 0x0000001EUL
|
||||
#define ETH_RX_QUEUE_CONFIG_0 0x0000000FUL
|
||||
#define ETHAVB1 ETH_CTRLIDX_CONFIGSET_1
|
||||
#define ETH_TX_QUEUE_CONFIG_1 0x0000001EUL
|
||||
#define ETH_RX_QUEUE_CONFIG_1 0x0000000FUL
|
||||
#define ETHAVB2 ETH_CTRLIDX_CONFIGSET_2
|
||||
#define ETH_TX_QUEUE_CONFIG_2 0x0000001EUL
|
||||
#define ETH_RX_QUEUE_CONFIG_2 0x0000000FUL
|
||||
|
||||
#define ETH_OS_COUNTER_ID OsCounter
|
||||
#define ETH_OS_COUNTER_MAX_VALUE 1000U
|
||||
|
||||
#define ETH_CTRL0_BASE_ADDRESS 0xE6800000UL
|
||||
#define ETH_CTRL1_BASE_ADDRESS 0xE6810000UL
|
||||
#define ETH_CTRL2_BASE_ADDRESS 0xE6820000UL
|
||||
#define ETH_GPTP_BASE_ADDRESS 0xE6449000UL
|
||||
|
||||
/* Ethernet Controller Access Failure */
|
||||
#define ETH_E_ACCESS_0 \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
#define ETH_E_ACCESS_1 \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
#define ETH_E_ACCESS_2 \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
/* Rx Ethernet Frames Lost */
|
||||
#define ETH_E_RX_FRAMES_LOST_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_RX_FRAMES_LOST_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_RX_FRAMES_LOST_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Ethernet CRC Failure */
|
||||
#define ETH_E_CRC_0 \
|
||||
DemConf_DemEventParameter_DemEventParameter_002
|
||||
#define ETH_E_CRC_1 \
|
||||
DemConf_DemEventParameter_DemEventParameter_002
|
||||
#define ETH_E_CRC_2 \
|
||||
DemConf_DemEventParameter_DemEventParameter_002
|
||||
/* Frame Size Underflow */
|
||||
#define ETH_E_UNDERSIZEFRAME_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_UNDERSIZEFRAME_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_UNDERSIZEFRAME_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Frame Size Overflow */
|
||||
#define ETH_E_OVERSIZEFRAME_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_OVERSIZEFRAME_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_OVERSIZEFRAME_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Ethernet Frame Alignment Error */
|
||||
#define ETH_E_ALIGNMENT_0 \
|
||||
DemConf_DemEventParameter_DemEventParameter_001
|
||||
#define ETH_E_ALIGNMENT_1 \
|
||||
DemConf_DemEventParameter_DemEventParameter_001
|
||||
#define ETH_E_ALIGNMENT_2 \
|
||||
DemConf_DemEventParameter_DemEventParameter_001
|
||||
/* Single Frame Collision */
|
||||
#define ETH_E_SINGLECOLLISION_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_SINGLECOLLISION_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_SINGLECOLLISION_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Multiple Frame Collision */
|
||||
#define ETH_E_MULTIPLECOLLISION_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_MULTIPLECOLLISION_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_MULTIPLECOLLISION_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Late Frame Collision */
|
||||
#define ETH_E_LATECOLLISION_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_LATECOLLISION_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_LATECOLLISION_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Reference to configured DEM event to report "Register Corruption". This */
|
||||
/* parameter must be configured if any of EthRegisterCheckInitTime and */
|
||||
/* EthRegisterCheckRunTime are configured */
|
||||
#define ETH_E_REGISTER_CORRUPTION_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_REGISTER_CORRUPTION_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_REGISTER_CORRUPTION_2 ETH_DEM_NOT_CONFIGURED
|
||||
|
||||
/* Reference to configured DEM event to report "DMA Relevant Errors". If the */
|
||||
/* reference is not configured the error shall not be reported */
|
||||
#define ETH_E_DMA_ERROR_0 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_DMA_ERROR_1 ETH_DEM_NOT_CONFIGURED
|
||||
#define ETH_E_DMA_ERROR_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* Ethernet Interrupt Controller Failure */
|
||||
#define ETH_E_INTERRUPT_CONTROLLER_FAILURE_0 ETH_DEM_NOT_CONFIGURED
|
||||
/* MISRA Violation : START Msg(7:0791)-1 */
|
||||
#define ETH_E_INTERRUPT_CONTROLLER_FAILURE_1 ETH_DEM_NOT_CONFIGURED
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation : START Msg(7:0791)-1 */
|
||||
#define ETH_E_INTERRUPT_CONTROLLER_FAILURE_2 ETH_DEM_NOT_CONFIGURED
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* Ethernet Configuration Set Handles */
|
||||
#define Eth_Config \
|
||||
(&Eth_GaaConfiguration[0])
|
||||
#define EthConf_EthCtrlConfig_EthCtrlConfig (uint8)0U
|
||||
/* MISRA Violation : START Msg(7:0791)-1 */
|
||||
#define EthConf_EthCtrlConfig_EthCtrlConfig_001 (uint8)1U
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation : START Msg(7:0791)-1 */
|
||||
#define EthConf_EthCtrlConfig_EthCtrlConfig_002 (uint8)2U
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* ETH_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,452 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Fls_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: FlsRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\fls\sample_application\V4H\19_11\config\App_FLS_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\fls\generator\V4H\R1911_FLS_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Fls.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Os\xml\Os_Fls.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_FLS_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:10:28
|
||||
*/
|
||||
|
||||
|
||||
#ifndef FLS_CFG_H
|
||||
#define FLS_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "MemIf_Types.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define FLS_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define FLS_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define FLS_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define FLS_CFG_SW_MAJOR_VERSION 1U
|
||||
#define FLS_CFG_SW_MINOR_VERSION 2U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define FLS_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define FLS_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define FLS_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define FLS_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define FLS_SW_MINOR_VERSION_VALUE 2U
|
||||
#define FLS_SW_PATCH_VERSION_VALUE 0U
|
||||
#define FLS_VENDOR_ID_VALUE 59U
|
||||
#define FLS_MODULE_ID_VALUE 92U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Pre-compile option for version info API. */
|
||||
#define FLS_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_Cancel function. */
|
||||
#define FLS_CANCEL_API STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_SetMode function. */
|
||||
#define FLS_SET_MODE_API STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_GetStatus function. */
|
||||
#define FLS_GET_STATUS_API STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_GetJobResult function. */
|
||||
#define FLS_GET_JOB_RESULT_API STD_ON
|
||||
|
||||
/* Enable/disable the version check of inter-module dependencies. */
|
||||
#define FLS_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Enable/disable the Critical section protection. */
|
||||
#define FLS_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_BlankCheck function. */
|
||||
#define FLS_BLANKCHECK_API STD_ON
|
||||
|
||||
/* Enable/Disable Job processing triggered by interrupt. */
|
||||
#define FLS_INTERRUPT_MODE STD_OFF
|
||||
|
||||
/* Enable/Disable the FlsTimeoutSupervision. */
|
||||
#define FLS_TIMEOUT_MONITORING STD_ON
|
||||
|
||||
/* Pre-compile option for runtime error detect. */
|
||||
#define FLS_RUNTIME_ERROR_DETECT STD_ON
|
||||
|
||||
/* Pre-compile option for development error detect. */
|
||||
#define FLS_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Enable/disable the semaphore feature. */
|
||||
#define FLS_SEMAPHORE STD_ON
|
||||
|
||||
/* Enable/disable the exclusive control feature. */
|
||||
#define FLS_EXCLUSIVE_CONTROL STD_ON
|
||||
|
||||
/* Enable/disable the External Space Read Mode. */
|
||||
#define FLS_EXTERNAL_SPACE_READ STD_ON
|
||||
|
||||
/* Enable/disable the Write buffer feature. */
|
||||
#define FLS_WRITE_BUFFER STD_ON
|
||||
|
||||
/* Enable/disable Erase error bit check. */
|
||||
#define ERASE_ERROR_BIT_CHECK STD_ON
|
||||
|
||||
/* Enable/disable Program error bit check. */
|
||||
#define PROGRAM_ERROR_BIT_CHECK STD_ON
|
||||
|
||||
/* Enables/Disables Fls_WriteVerifyCheck. */
|
||||
#define FLS_WRITE_VERIFY_ENABLE STD_ON
|
||||
|
||||
/* Enable/disable the exclusive control for CPG access feature. */
|
||||
#define FLS_CPG_EXCLUSIVE_CONTROL STD_ON
|
||||
|
||||
/* Enables/Disables Fls_CpgWriteVerifyCheck. */
|
||||
#define FLS_CPG_WRITE_VERIFY_ENABLE STD_ON
|
||||
|
||||
/* Enable/disable timeout supervision. */
|
||||
#define FLS_TIMEOUT_SUPERVISION_ENABLED STD_ON
|
||||
|
||||
/* Enable/disable erase verification. */
|
||||
#define FLS_ERASE_VERIFICATION_ENABLED STD_ON
|
||||
|
||||
/* Enable/disable write verification. */
|
||||
#define FLS_WRITE_VERIFICATION_ENABLED STD_ON
|
||||
|
||||
/* Pre-compile option for transient fault detect. */
|
||||
#define FLS_TRANSIENT_FAULT_DETECT STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_Compare function. */
|
||||
#define FLS_COMPARE_API STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_Suspend function. */
|
||||
#define FLS_SUSPEND_API STD_ON
|
||||
|
||||
/* Enable/Disable the Fls_Resume function. */
|
||||
#define FLS_RESUME_API STD_ON
|
||||
|
||||
/* Enable/disable the Fls_SendSpecificConfig API */
|
||||
#define FLS_SEND_SPEC_CONFIG_API STD_ON
|
||||
|
||||
/* Information whether job notification functions are configured. */
|
||||
#define FLS_JOB_NOTIF_CONFIG STD_ON
|
||||
|
||||
/* Condition to Enable/Disable FLS_BASE_ADDRESS. */
|
||||
#define FLS_BASE_ADDRESS_ZERO STD_ON
|
||||
|
||||
/* Enable/disable the CPG clock setting. */
|
||||
#define FLS_CPG_CLOCK_SETTING STD_ON
|
||||
|
||||
/* Enable/disable the DDR Calibration */
|
||||
#define FLS_DDR_CALIB_FEATURE STD_ON
|
||||
|
||||
/* Instance ID of the FLS. */
|
||||
#define FLS_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* Flash Device memory base address. */
|
||||
#define FLS_BASE_ADDRESS 0x00000000UL
|
||||
|
||||
/* Pre-compile option for Flash Access */
|
||||
#define FLS_FLASH_ACCESS FLS_SERIAL_FLASH_DEVICE
|
||||
|
||||
/* The QSPI pin group, which connected with FLASH device. */
|
||||
#define FLS_PIN_GROUP FLS_QSPI0_PIN_GROUP
|
||||
|
||||
/* Total amount of flash memory in bytes */
|
||||
#define FLS_TOTAL_SIZE 67108864UL
|
||||
|
||||
/* The supported device name. */
|
||||
#define FLS_DEVICE_NAME V4H
|
||||
|
||||
/* Sets the burst length when reading. */
|
||||
#define FLS_BURST_LENGTH_VALUE 31U
|
||||
|
||||
/* Maximum time value to erase one complete flash sector. */
|
||||
#define FLS_ERASE_TIME (TickType)394736843U
|
||||
|
||||
/* The contents of an erased flash memory cell. */
|
||||
#define FLS_ERASED_VALUE 0xFFFFFFFFUL
|
||||
|
||||
/* Maximum time of a read/compare/blank check job. */
|
||||
#define FLS_READ_TIME (TickType)13157895U
|
||||
|
||||
/* Unique identifier of the hardware device that is expected by this driver. */
|
||||
#define FLS_EXPECTED_HW_ID 0x4D200201UL
|
||||
|
||||
/* Maximum time value to program one complete flash page. */
|
||||
#define FLS_WRITE_TIME (TickType)65790U
|
||||
|
||||
/* Configuration Set Handles. */
|
||||
|
||||
#define Fls_Config \
|
||||
(&Fls_GstConfiguration[0])
|
||||
|
||||
/* Set Page Programming Buffer address wrap point. */
|
||||
#define FLS_PAGE_BUFFER_WRAP_POINT FLS_PAGE_BUFFER_WRAP_256
|
||||
|
||||
/* The elements used for cpg exclusive control feature. */
|
||||
#define FLS_CPG_EXCLUSIVE_CONTROL_TIMEOUT (TickType)13157895U
|
||||
|
||||
/* The elements used for clock setting feature. */
|
||||
#define FLS_CLOCKSET_CONFIRM_TIMEOUT (TickType)13157895U
|
||||
|
||||
/* The elements used for clock setting feature. */
|
||||
#define FLS_CLOCKSET_TEND_CHECK_TIMEOUT (TickType)13157895U
|
||||
|
||||
/* Os Counter ID. */
|
||||
#define FLS_OS_COUNTER_ID OsCounter
|
||||
|
||||
/* Expected HW ID checking mask. */
|
||||
#define FLS_EXPECTED_HW_ID_MASK 0xFFFFFFFFUL
|
||||
|
||||
/* The length of expected HW ID in bytes. */
|
||||
#define FLS_EXPECTED_HW_ID_LEN 4U
|
||||
|
||||
/* The elements used for exclusive control feature. */
|
||||
#define FLS_EXCLUSIVE_CONTROL_TIMEOUT (TickType)13157895U
|
||||
|
||||
/* The elements used for semaphore feature. */
|
||||
#define FLS_SEMAPHORE_TIMEOUT (TickType)13157895U
|
||||
|
||||
/* CMNCR register address. */
|
||||
#define FLS_RPC_CMNCR_ADDR 0xEE200000UL
|
||||
|
||||
/* CMNCR register address. */
|
||||
#define FLS_RPC_SSLDR_ADDR 0xEE200004UL
|
||||
|
||||
/* SMCR register address. */
|
||||
#define FLS_RPC_SMCR_ADDR 0xEE200020UL
|
||||
|
||||
/* SMCMR register address. */
|
||||
#define FLS_RPC_SMCMR_ADDR 0xEE200024UL
|
||||
|
||||
/* SMADR register address. */
|
||||
#define FLS_RPC_SMADR_ADDR 0xEE200028UL
|
||||
|
||||
/* SMOPR register address. */
|
||||
#define FLS_RPC_SMOPR_ADDR 0xEE20002CUL
|
||||
|
||||
/* SMENR register address. */
|
||||
#define FLS_RPC_SMENR_ADDR 0xEE200030UL
|
||||
|
||||
/* SMRDR0 register address. */
|
||||
#define FLS_RPC_SMRDR0_ADDR 0xEE200038UL
|
||||
|
||||
/* SMWDR0 register address. */
|
||||
#define FLS_RPC_SMWDR0_ADDR 0xEE200040UL
|
||||
|
||||
/* CMNSR register address. */
|
||||
#define FLS_RPC_CMNSR_ADDR 0xEE200048UL
|
||||
|
||||
/* SMDMCR register address. */
|
||||
#define FLS_RPC_SMDMCR_ADDR 0xEE200060UL
|
||||
|
||||
/* SMDRENR register address. */
|
||||
#define FLS_RPC_SMDRENR_ADDR 0xEE200064UL
|
||||
|
||||
/* PHYCNT register address. */
|
||||
#define FLS_RPC_PHYCNT_ADDR 0xEE20007CUL
|
||||
|
||||
/* PHYOFFSET1 register address. */
|
||||
#define FLS_RPC_PHYOFFSET1_ADDR 0xEE200080UL
|
||||
|
||||
/* CMNCR register address. */
|
||||
#define FLS_RPC_DRCMR_ADDR 0xEE200010UL
|
||||
|
||||
/* DREAR egister address. */
|
||||
#define FLS_RPC_DREAR_ADDR 0xEE200014UL
|
||||
|
||||
/* DROPR register address. */
|
||||
#define FLS_RPC_DROPR_ADDR 0xEE200018UL
|
||||
|
||||
/* DRENR register address. */
|
||||
#define FLS_RPC_DRENR_ADDR 0xEE20001CUL
|
||||
|
||||
/* DRDMCR register address. */
|
||||
#define FLS_RPC_DRDMCR_ADDR 0xEE200058UL
|
||||
|
||||
/* DRDRENR register address. */
|
||||
#define FLS_RPC_DRDRENR_ADDR 0xEE20005CUL
|
||||
|
||||
/* Internal address map. */
|
||||
#define FLS_RPC_INTERNAL_ADDR_MAP 0x08000000UL
|
||||
|
||||
/* CMNCR register address. */
|
||||
#define FLS_RPC_DRCR_ADDR 0xEE20000CUL
|
||||
|
||||
/* Write buffer address map. */
|
||||
#define FLS_RPC_WRITE_BUFF_ADDR 0xEE208000UL
|
||||
|
||||
/* ARIGHT register address. */
|
||||
#define FLS_RPC_ARIGHT_ADDR 0xEE2000BCUL
|
||||
|
||||
/* MFISLCKR register address. */
|
||||
#define FLS_MFISLCKR_REG_ADDR 0xE62600D8UL
|
||||
|
||||
/* MFISLCKR register address for CPG access feature. */
|
||||
#define FLS_CPG_MFISLCKR_REG_ADDR 0xE62600C8UL
|
||||
|
||||
/* RPCCKCR register address. */
|
||||
#define FLS_CPG_RPCCKCR_ADDR 0xE6150874UL
|
||||
|
||||
/* CPGWPR register address. */
|
||||
#define FLS_CPG_CPGWPR_ADDR 0xE6150000UL
|
||||
|
||||
/* CPGWPCR register address. */
|
||||
#define FLS_CPG_CPGWPCR_ADDR 0xE6150004UL
|
||||
|
||||
|
||||
/* The DEM failure for RPCCKCR clock setting confirmation. */
|
||||
#define FLS_E_CLOCK_SET_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_CLOCK_SET_FAILURE
|
||||
|
||||
/* The DEM failure for Fls_CpgExclusiveControl. */
|
||||
#define FLS_E_CPG_GET_CONTROL_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_CPG_GET_CONTROL_FAILURE
|
||||
|
||||
/* The DEM failure of Fls_CpgWriteVerifyCheck API. */
|
||||
#define FLS_E_CPG_WRITE_VERIFY_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_CPG_WRITE_VERIFY_FAILURE
|
||||
|
||||
/* The DEM failure for Fls_ExclusiveControl */
|
||||
#define FLS_E_GET_CONTROL_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_GET_CONTROL_FAILURE
|
||||
|
||||
/* The DEM failure of Fls_WriteVerifyCheck API. */
|
||||
#define FLS_E_WRITE_VERIFY_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_WRITE_VERIFY_FAILURE
|
||||
|
||||
/* The DEM failure for get semaphore. */
|
||||
#define FLS_E_GET_SEMAPHORE_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_GET_SEMAPHORE_FAILURE
|
||||
|
||||
/* The DEM failure for release semaphore. */
|
||||
#define FLS_E_RELEASE_SEMAPHORE_FAILURE \
|
||||
DemConf_DemEventParameter_FLS_E_RELEASE_SEMAPHORE_FAILURE
|
||||
|
||||
|
||||
/* FlsSerialFlashSpecificConfig handles */
|
||||
|
||||
#define Fls_EnterFourByteAddressMode \
|
||||
(&Fls_SfSpecificConfig[0])
|
||||
#define Fls_ReadCR1VRegisterConfig \
|
||||
(&Fls_SfSpecificConfig[1])
|
||||
#define Fls_ReadCR2VRegister4BytesConfig \
|
||||
(&Fls_SfSpecificConfig[2])
|
||||
#define Fls_ReadCR2VRegisterConfig \
|
||||
(&Fls_SfSpecificConfig[3])
|
||||
#define Fls_ReadCR3VRegisterConfig \
|
||||
(&Fls_SfSpecificConfig[4])
|
||||
#define Fls_ReadStatusRegConfig \
|
||||
(&Fls_SfSpecificConfig[5])
|
||||
#define Fls_WriteCR1VRegister \
|
||||
(&Fls_SfSpecificConfig[6])
|
||||
#define Fls_WriteCR2VRegister \
|
||||
(&Fls_SfSpecificConfig[7])
|
||||
#define Fls_WriteCR2VRegister4Bytes \
|
||||
(&Fls_SfSpecificConfig[8])
|
||||
#define Fls_WriteCR3VRegister \
|
||||
(&Fls_SfSpecificConfig[9])
|
||||
#define Fls_WriteEnableConfig \
|
||||
(&Fls_SfSpecificConfig[10])
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* FLS_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,168 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Gpt_Cbk.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: GptRCAR.dll version: 1.0.9, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\gpt\sample_application\V4H\19_11\config\App_GPT_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\gpt\generator\V4H\R1911_GPT_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_GPT_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Gpt.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\EcuM\xml\EcuM_Gpt.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:09
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GPT_CBK_H
|
||||
#define GPT_CBK_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
|
||||
/******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA C:2012 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, (MEMMAP003 - */
|
||||
/* Specification of Memory Mapping). */
|
||||
/* accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-1 and */
|
||||
/* END Msg(4:5087)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define GPT_CBK_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define GPT_CBK_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define GPT_CBK_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define GPT_CBK_SW_MAJOR_VERSION 1U
|
||||
#define GPT_CBK_SW_MINOR_VERSION 7U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
#define GPT_START_SEC_APPL_CODE
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
|
||||
extern FUNC(void, GPT_APPL_CODE) Gpt_Notification_0(void);
|
||||
|
||||
|
||||
extern FUNC(void, GPT_APPL_CODE) Gpt_Notification_1(void);
|
||||
|
||||
|
||||
extern FUNC(void, GPT_APPL_CODE) Gpt_Notification_2(void);
|
||||
|
||||
|
||||
#define GPT_STOP_SEC_APPL_CODE
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
|
||||
#endif /* GPT_CBK_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,274 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Gpt_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: GptRCAR.dll version: 1.0.9, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\gpt\sample_application\V4H\19_11\config\App_GPT_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\gpt\generator\V4H\R1911_GPT_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_GPT_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Gpt.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\EcuM\xml\EcuM_Gpt.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:09
|
||||
*/
|
||||
|
||||
|
||||
#ifndef GPT_CFG_H
|
||||
#define GPT_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "Gpt_Cbk.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
|
||||
/******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '%s') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4, CERTCMM DCL23 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), so this is */
|
||||
/* accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define GPT_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define GPT_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define GPT_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define GPT_CFG_SW_MAJOR_VERSION 1U
|
||||
#define GPT_CFG_SW_MINOR_VERSION 7U
|
||||
#define GPT_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define GPT_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define GPT_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define GPT_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define GPT_SW_MINOR_VERSION_VALUE 7U
|
||||
#define GPT_SW_PATCH_VERSION_VALUE 11U
|
||||
#define GPT_VENDOR_ID_VALUE 59U
|
||||
#define GPT_MODULE_ID_VALUE 100U
|
||||
#define GPT_AR_VERSION GPT_AR_1911_VERSION
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
/* Instance ID of the Gpt Component */
|
||||
#define GPT_INSTANCE_ID_VALUE 0U
|
||||
|
||||
|
||||
|
||||
|
||||
/* Enable/Disable the timer TMU IP */
|
||||
#define GPT_TIMER_IP_TMU STD_ON
|
||||
|
||||
/* The number of HWIP configured STD_ON */
|
||||
#define GPT_TOTAL_HW_IP_CONFIG 1
|
||||
|
||||
/* Total number of GPT Channels configured */
|
||||
#define GPT_TOTAL_CHANNELS_CONFIG 3U
|
||||
|
||||
/* Maximum GPT Channel ID configured */
|
||||
#define GPT_MAX_CHANNEL_ID_CONFIGURED 2U
|
||||
|
||||
/* Enables/Disables inclusion of Gpt_SetMode, Gpt_EnableWakeup and */
|
||||
/* Gpt_DisableWakeup */
|
||||
#define GPT_WAKEUP_FUNCTIONALITY_API STD_ON
|
||||
|
||||
|
||||
|
||||
/* Total number of GPT Channels PreDef Configured */
|
||||
#define GPT_TOTAL_PREDEF_CHANNELS_CONFIG 1U
|
||||
|
||||
/* Frequence Clock Source for Predef Timer */
|
||||
#define GPT_PREDEF_TIMER_FREQ_CLOCK 133.33F
|
||||
|
||||
/* Division factor for timer value in order to have a resolution of 1us or */
|
||||
/* 100us for PreDef timers functionality */
|
||||
#define GPT_PREDEF_TIMER_DIVISION_FACTOR 2U
|
||||
|
||||
/* Path of GPT_E_INTERRUPT_CONTROLLER_FAILURE */
|
||||
#define GPT_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
|
||||
|
||||
|
||||
|
||||
/* Enables/Disables the inclusion of Gpt_DeInit API */
|
||||
#define GPT_DE_INIT_API STD_ON
|
||||
|
||||
/* Enables/Disables inclusion of Gpt_GetTimeElapsed API */
|
||||
#define GPT_TIME_ELAPSED_API STD_ON
|
||||
|
||||
/* Enables/Disables inclusion of GptTimeRemaining Api */
|
||||
#define GPT_TIME_REMAINING_API STD_ON
|
||||
|
||||
/* Enables/Disables inclusion of GptVersionInfoApi */
|
||||
#define GPT_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Enables/Disables inclusion of GptEnableDisableNotificationApi */
|
||||
#define GPT_ENABLE_DISABLE_NOTIFICATION_API STD_ON
|
||||
|
||||
/* Enables/Disables Predef Timer function */
|
||||
#define GPT_GET_PREDEF_TIMER_VALUE_API STD_ON
|
||||
|
||||
/* Enables/Disables Development error detection */
|
||||
#define GPT_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Enable/Disable Report Wakeup Source */
|
||||
#define GPT_REPORT_WAKEUP_SOURCE STD_ON
|
||||
|
||||
/* Enable/Disable critical section */
|
||||
#define GPT_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Enable/Disable already init DET check */
|
||||
#define GPT_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Enable/Disable version check external modules */
|
||||
#define GPT_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Enable/Disable Unintended interrupt check */
|
||||
#define GPT_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Macros for enabling/disabling ISRS */
|
||||
#define GPT_TMU_CH00_ISR_API STD_ON
|
||||
#define GPT_TMU_CH01_ISR_API STD_ON
|
||||
#define GPT_TMU_CH02_ISR_API STD_ON
|
||||
#define GPT_TMU_CH03_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH04_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH05_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH06_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH07_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH08_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH09_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH10_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH11_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH12_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH13_ISR_API STD_OFF
|
||||
#define GPT_TMU_CH14_ISR_API STD_OFF
|
||||
/* GPT Channel Handles */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define GptConf_GptChannelConfiguration_GptChannelConfiguration \
|
||||
(Gpt_ChannelType) 0x00
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define GptConf_GptChannelConfiguration_GptChannelConfiguration_001 \
|
||||
(Gpt_ChannelType) 0x01
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define GptConf_GptChannelConfiguration_GptChannelConfiguration_002 \
|
||||
(Gpt_ChannelType) 0x02
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* GPT ConfigSet Handles */
|
||||
#define Gpt_Config \
|
||||
(&Gpt_GaaConfiguration[0])
|
||||
/* Channel Mapping for Timer Unit Channels */
|
||||
#define GPT_TMU_CH00 0x00
|
||||
#define GPT_TMU_CH01 0x01
|
||||
#define GPT_TMU_CH02 0x02
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* GPT_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,588 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Gpt_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post-build time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: GptRCAR.dll version: 1.0.9, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\gpt\sample_application\V4H\19_11\config\App_GPT_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\gpt\generator\V4H\R1911_GPT_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_GPT_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Gpt.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\EcuM\xml\EcuM_Gpt.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:09
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
/* MISRA Violation: START Msg(2:0857)-10 */
|
||||
|
||||
#include "Gpt.h"
|
||||
|
||||
/* END Msg(2:0857)-10 */
|
||||
|
||||
#include "Gpt_PBTypes.h"
|
||||
|
||||
#include "Gpt_TMU_Ram.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** QAC Warning **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0303) [I] Cast between a pointer to volatile object */
|
||||
/* and an integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule 11.4,CERTCCM INT36, CWE-398, CWE-569 */
|
||||
/* REFERENCE - ISO:C90-6.3.4 Cast Operators - Semantics */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0303)-1 and */
|
||||
/* END Msg(2:0303)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3408) 'Gpt_GaaHwFunc' has external linkage and is */
|
||||
/* being defined without any previous declaration. */
|
||||
/* Rule : MISRA-C:2012 Rule 8.4, CERTCCM DCL07, CWE-398, CWE-569 */
|
||||
/* Justification : It is accepted, due to the declaration will be taken care */
|
||||
/* by Os */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3408)-2 and */
|
||||
/* END Msg(2:3408)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0306) [I] Cast between a pointer to object */
|
||||
/* and an integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule 11.4, Rule 11.6, CERTCCM INT36, CWE-398, */
|
||||
/* CWE-569, CWE-738 */
|
||||
/* REFERENCE - ISO:C90-6.3.4 Cast Operators - Semantics */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0306)-3 and */
|
||||
/* END Msg(2:0306)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1504) The object is only referenced in the translation */
|
||||
/* unit where it is defined. */
|
||||
/* Rule : MISRA-C:2012 Rule 8.10, Rule 8.7, CERTCCM DCL15, CWE-398, */
|
||||
/* CWE-569 */
|
||||
/* Justification : This is accepted, due to following coding rule, internal */
|
||||
/* function can be defined in other C source files */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1504)-4 and */
|
||||
/* END Msg(1:1504)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 5. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3432) Simple macro argument expression is not */
|
||||
/* parenthesized. */
|
||||
/* Rule : MISRA C:2012 Rule-20.7 REFERENCE - ISO:C90-6.3.1 */
|
||||
/* Primary Expressions, CWE-398, CWE-569 */
|
||||
/* Justification : Compiler keyword (macro) is defined and used followed */
|
||||
/* AUTOSAR standard rule. It is accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3432)-5 and */
|
||||
/* END Msg(2:3432)-5 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 6. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0326) [I] Cast between a pointer to void and an */
|
||||
/* integral type. */
|
||||
/* Rule : MISRA C:2012 Rule-3.1, Rule-11.6, CWE-398, CWE-569, CWE-738*/
|
||||
/* Justification : Using void due to specific requirement of input parameter. */
|
||||
/* So, this can be skipped. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0326)-6 and */
|
||||
/* END Msg(7:0326)-6 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 7. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1531) The array object is referenced in only */
|
||||
/* one translation unit - but not the one in which it is */
|
||||
/* defined. */
|
||||
/* Rule : MISRA C:2012 Rule-8.7, CERTCCM DCL15, DCL19, CWE-398, */
|
||||
/* CWE-569 */
|
||||
/* Justification : Followed coding rules, the objects (global variable/const) */
|
||||
/* is define in separated source file, so this could be */
|
||||
/* accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1531)-7 and */
|
||||
/* END Msg(1:1531)-7 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 8. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA C:2012 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-8 and */
|
||||
/* END Msg(4:5087)-8 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 9. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0315) [I] Implicit conversion from a pointer to object */
|
||||
/* type to a pointer to void. */
|
||||
/* Rule : MISRA-C:2012 Dir-1.1, CWE Rule CWE-188, CWE-398, CWE-569 */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0315)-9 and */
|
||||
/* END Msg(2:0315)-9 tags in the code. */
|
||||
/******************************************************************************/
|
||||
/* 10. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0857) [L] Number of macro definitions */
|
||||
/* exceeds 1024 - program does not conform strictly */
|
||||
/* to ISO:C90. */
|
||||
/* Rule : MISRA C:2012 Dir-1.1 */
|
||||
/* Justification : The number of macro depend on module code size. There is */
|
||||
/* no issue when number of macro is over 1024 */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0857)-10 and */
|
||||
/* END Msg(2:0857)-10 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define GPT_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define GPT_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define GPT_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define GPT_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
#define GPT_PBCFG_C_SW_MINOR_VERSION 7U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (GPT_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
GPT_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Gpt_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (GPT_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
GPT_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Gpt_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (GPT_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
GPT_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Gpt_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (GPT_PBTYPES_SW_MAJOR_VERSION != GPT_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Gpt_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (GPT_PBTYPES_SW_MINOR_VERSION != GPT_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "Gpt_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
#define GPT_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-8 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-8 */
|
||||
|
||||
|
||||
/* Initialization of GPT Channel Configuration */
|
||||
/* MISRA Violation: START Msg(1:1504)-4 */
|
||||
CONST(Gpt_ChannelConfigType, GPT_CONFIG_DATA) Gpt_GaaChannelConfig[] =
|
||||
{
|
||||
/* Index: 0 - GptChannelConfiguration */
|
||||
{
|
||||
/* ucTimerUnitType */
|
||||
GPT_HWIP_TMU,
|
||||
|
||||
/* pTSTRAddress */
|
||||
/* MISRA Violation: START Msg(2:0303)-1 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(volatile uint8, TYPEDEF, REGSPACE))0xE61E0004UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0303)-1 */
|
||||
|
||||
/* pGptNotificationPointer */
|
||||
&Gpt_Notification_0,
|
||||
|
||||
/* pBaseTCORAddress */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(Gpt_ChannelRegs, TYPEDEF, REGSPACE))0xE61E0008UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* ucWakeupSourceId */
|
||||
EcuMConf_EcuMWakeupSource_EcuMWakeupSource,
|
||||
|
||||
/* usGIC_Index */
|
||||
0x1FAU,
|
||||
|
||||
/* ucTCRValue */
|
||||
0x20U,
|
||||
|
||||
/* ucGptChannelMode */
|
||||
(uint8)GPT_CH_MODE_CONTINUOUS,
|
||||
|
||||
/* blGptWakeupSupport */
|
||||
GPT_TRUE
|
||||
},
|
||||
/* Index: 1 - GptChannelConfiguration_001 */
|
||||
{
|
||||
/* ucTimerUnitType */
|
||||
GPT_HWIP_TMU,
|
||||
|
||||
/* pTSTRAddress */
|
||||
/* MISRA Violation: START Msg(2:0303)-1 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(volatile uint8, TYPEDEF, REGSPACE))0xE61E0004UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0303)-1 */
|
||||
|
||||
/* pGptNotificationPointer */
|
||||
&Gpt_Notification_1,
|
||||
|
||||
/* pBaseTCORAddress */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(Gpt_ChannelRegs, TYPEDEF, REGSPACE))0xE61E0014UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* ucWakeupSourceId */
|
||||
GPT_NOWAKEUP,
|
||||
|
||||
/* usGIC_Index */
|
||||
0x1FBU,
|
||||
|
||||
/* ucTCRValue */
|
||||
0x20U,
|
||||
|
||||
/* ucGptChannelMode */
|
||||
(uint8)GPT_CH_MODE_CONTINUOUS,
|
||||
|
||||
/* blGptWakeupSupport */
|
||||
GPT_FALSE
|
||||
},
|
||||
/* Index: 2 - GptChannelConfiguration_002 */
|
||||
{
|
||||
/* ucTimerUnitType */
|
||||
GPT_HWIP_TMU,
|
||||
|
||||
/* pTSTRAddress */
|
||||
/* MISRA Violation: START Msg(2:0303)-1 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(volatile uint8, TYPEDEF, REGSPACE))0xE61E0004UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0303)-1 */
|
||||
|
||||
/* pGptNotificationPointer */
|
||||
&Gpt_Notification_2,
|
||||
|
||||
/* pBaseTCORAddress */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(Gpt_ChannelRegs, TYPEDEF, REGSPACE))0xE61E0020UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* ucWakeupSourceId */
|
||||
GPT_NOWAKEUP,
|
||||
|
||||
/* usGIC_Index */
|
||||
0x1FCU,
|
||||
|
||||
/* ucTCRValue */
|
||||
0x20U,
|
||||
|
||||
/* ucGptChannelMode */
|
||||
(uint8)GPT_CH_MODE_ONESHOT,
|
||||
|
||||
/* blGptWakeupSupport */
|
||||
GPT_FALSE
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-4 */
|
||||
|
||||
/* MISRA Violation: START Msg(1:1531)-7 */
|
||||
CONST(Gpt_HWIPType, GPT_CONFIG_DATA) Gpt_GaaHWIP[] =
|
||||
{
|
||||
/* Index: 0 - ucIndex */
|
||||
{
|
||||
/* GPT_HWIP_TMU */
|
||||
GPT_HWIP_TMU
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1531)-7 */
|
||||
|
||||
/* MISRA Violation: START Msg(1:1531)-7 */
|
||||
/* MISRA Violation: START Msg(2:3408)-2 */
|
||||
CONSTP2CONST(Gpt_HwFuncTableType, GPT_CONST, GPT_CONFIG_DATA) Gpt_GaaHwFunc[] =
|
||||
{
|
||||
/* GPT_HWIP_OSTM */
|
||||
NULL_PTR,
|
||||
/* GPT_HWIP_TAUD */
|
||||
NULL_PTR,
|
||||
/* GPT_HWIP_TAUJ */
|
||||
NULL_PTR,
|
||||
/* GPT_HWIP_TMU */
|
||||
&Gpt_TmuFunc
|
||||
};
|
||||
/* END Msg(2:3408)-2 */
|
||||
/* END Msg(1:1531)-7 */
|
||||
|
||||
|
||||
/* MISRA Violation: START Msg(1:1504)-4 */
|
||||
CONST(Gpt_PredefTimerTMUChannelConfigType, GPT_CONFIG_DATA)
|
||||
Gpt_GaaPT_TMUChannelConfig[] =
|
||||
{
|
||||
/* Index: 0 - GptPredefTimer1Us32BitConfiguration */
|
||||
{
|
||||
/* pPT_TSTRReg */
|
||||
/* MISRA Violation: START Msg(2:0303)-1 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(volatile uint8, TYPEDEF, REGSPACE))0xE6FC0004UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0303)-1 */
|
||||
|
||||
/* pPT_TCORReg */
|
||||
/* MISRA Violation: START Msg(2:0306)-3 */
|
||||
/* MISRA Violation: START Msg(2:3432)-5 */
|
||||
(P2VAR(Gpt_ChannelRegs, TYPEDEF, REGSPACE))0xE6FC0008UL,
|
||||
/* END Msg(2:3432)-5 */
|
||||
/* END Msg(2:0306)-3 */
|
||||
|
||||
/* ucPT_ChannelBitValue */
|
||||
0x01U,
|
||||
|
||||
/* usPT_ModeSettingValue */
|
||||
0x0000U
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-4 */
|
||||
|
||||
CONST(Gpt_PredefTimerConfigType, GPT_CONFIG_DATA) Gpt_GaaPredefTimerConfig[] =
|
||||
{
|
||||
/* Index: 0 - (uint8)GPT_PREDEF_TIMER_1US_32BIT */
|
||||
{
|
||||
/* ucPredefTimerCounterType */
|
||||
(uint8)GPT_PREDEF_TIMER_1US_32BIT,
|
||||
|
||||
/* ucPredefTimerType */
|
||||
GPT_HWIP_TMU,
|
||||
|
||||
/* pPT_UnitConfig */
|
||||
NULL_PTR,
|
||||
|
||||
/* pPT_ChannelConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-9 */
|
||||
&Gpt_GaaPT_TMUChannelConfig[0]
|
||||
/* END Msg(2:0315)-9 */
|
||||
}
|
||||
};
|
||||
|
||||
#define GPT_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-8 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-8 */
|
||||
|
||||
|
||||
#define GPT_START_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-8 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-8 */
|
||||
|
||||
|
||||
/* Structure for each Configuration Set */
|
||||
CONST(Gpt_ConfigType, GPT_CONFIG_DATA) Gpt_GaaConfiguration[] =
|
||||
{
|
||||
/* Index: 0 - GptChannelConfigSet */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0ED90138UL,
|
||||
|
||||
/* pChannelConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-9 */
|
||||
&Gpt_GaaChannelConfig[0],
|
||||
/* END Msg(2:0315)-9 */
|
||||
|
||||
/* pChannelRamData */
|
||||
/* MISRA Violation: START Msg(2:0315)-9 */
|
||||
&Gpt_GaaChannelRamData[0],
|
||||
/* END Msg(2:0315)-9 */
|
||||
|
||||
/* pPT_ChannelConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-9 */
|
||||
&Gpt_GaaPredefTimerConfig[0]
|
||||
/* END Msg(2:0315)-9 */
|
||||
}
|
||||
};
|
||||
|
||||
#define GPT_STOP_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-8 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-8 */
|
||||
|
||||
|
||||
#define GPT_START_SEC_VAR_NO_INIT_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-8 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-8 */
|
||||
|
||||
|
||||
/* RAM Allocation of GPT Channel data */
|
||||
/* MISRA Violation: START Msg(1:1504)-4 */
|
||||
VAR(Gpt_ChannelRamDataType, GPT_CONFIG_DATA) Gpt_GaaChannelRamData[] =
|
||||
{
|
||||
/* Index: 0 - GptChannelConfiguration */
|
||||
{
|
||||
/* ucChannelStatus */
|
||||
GPT_CH_NOTSTARTED,
|
||||
|
||||
/* ucNotifyStatus */
|
||||
GPT_FALSE,
|
||||
|
||||
/* blWakeupStatus */
|
||||
GPT_FALSE,
|
||||
|
||||
/* blGptWakeupOccurrence */
|
||||
GPT_FALSE
|
||||
},
|
||||
/* Index: 1 - GptChannelConfiguration_001 */
|
||||
{
|
||||
/* ucChannelStatus */
|
||||
GPT_CH_NOTSTARTED,
|
||||
|
||||
/* ucNotifyStatus */
|
||||
GPT_FALSE,
|
||||
|
||||
/* blWakeupStatus */
|
||||
GPT_FALSE,
|
||||
|
||||
/* blGptWakeupOccurrence */
|
||||
GPT_FALSE
|
||||
},
|
||||
/* Index: 2 - GptChannelConfiguration_002 */
|
||||
{
|
||||
/* ucChannelStatus */
|
||||
GPT_CH_NOTSTARTED,
|
||||
|
||||
/* ucNotifyStatus */
|
||||
GPT_FALSE,
|
||||
|
||||
/* blWakeupStatus */
|
||||
GPT_FALSE,
|
||||
|
||||
/* blGptWakeupOccurrence */
|
||||
GPT_FALSE
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1504)-4 */
|
||||
|
||||
#define GPT_STOP_SEC_VAR_NO_INIT_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-8 */
|
||||
#include "Gpt_MemMap.h"
|
||||
/* END Msg(4:5087)-8 */
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,319 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Mcu_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: McuRCAR.dll version: 1.1.14, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\mcu\sample_application\V4H\19_11\config\App_MCU_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Mcu.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\mcu\generator\V4H\R1911_MCU_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:00
|
||||
*/
|
||||
|
||||
|
||||
#ifndef MCU_CFG_H
|
||||
#define MCU_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
|
||||
/******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information */
|
||||
#define MCU_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define MCU_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define MCU_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define MCU_CFG_SW_MAJOR_VERSION 1U
|
||||
#define MCU_CFG_SW_MINOR_VERSION 1U
|
||||
#define MCU_AR_VERSION MCU_AR_1911_VERSION
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define MCU_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define MCU_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define MCU_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
|
||||
#define MCU_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define MCU_SW_MINOR_VERSION_VALUE 1U
|
||||
#define MCU_SW_PATCH_VERSION_VALUE 13U
|
||||
|
||||
#define MCU_VENDOR_ID_VALUE 59U
|
||||
#define MCU_MODULE_ID_VALUE 101U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* Instance ID of the MCU Driver */
|
||||
#define MCU_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* Pre-compile option for the device name */
|
||||
#define MCU_DEVICE_NAME MCU_V4H
|
||||
|
||||
/* Pre-compile option for Mcu_GetVersion API */
|
||||
#define MCU_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for Mcu_PerformReset API */
|
||||
#define MCU_PERFORM_RESET_API STD_ON
|
||||
|
||||
/* Pre-compile option for Mcu_GetRamState API */
|
||||
#define MCU_GET_RAM_STATE_API STD_ON
|
||||
|
||||
/* Pre-compile option for Mcu_InitClock API */
|
||||
#define MCU_INIT_CLOCK STD_ON
|
||||
|
||||
/* Pre-compile option for availability of PLL */
|
||||
#define MCU_NO_PLL STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_RESET_CALLOUT API */
|
||||
#define MCU_SW_RESET_CALL_API STD_ON
|
||||
|
||||
/* Pre-compile option for MCU_CLEAR_AND_SET_WAKEUP_FACTOR_API */
|
||||
#define MCU_CLEAR_AND_SET_WAKEUP_FACTOR_API STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_GET_WAKEUP_FACTOR_API */
|
||||
#define MCU_GET_WAKEUP_FACTOR_API STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_RELEASE_IO_BUFFER_HOLD_API */
|
||||
#define MCU_RELEASE_IO_BUFFER_HOLD_API STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_FEINT_ISR API */
|
||||
#define MCU_FEINT_ISR_API STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_EIINT_EIC8_ISR_API API */
|
||||
#define MCU_EIINT_EIC8_ISR_API STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_EIINT_EIC9_ISR_API API */
|
||||
#define MCU_EIINT_EIC9_ISR_API STD_OFF
|
||||
|
||||
/* Pre-compile option for the development error detection and Reporting */
|
||||
#define MCU_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for enable or disable inter-module dependencies */
|
||||
#define MCU_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Pre-compile option for the critical section functionality */
|
||||
#define MCU_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option for availability of CLMA group */
|
||||
#define MCU_CLMA_OPERATION STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_VMON_DIAG_OPERATION */
|
||||
#define MCU_VMON_DIAG_OPERATION STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_DMON_DIAG_OPERATION */
|
||||
#define MCU_DMON_DIAG_OPERATION STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_DMON_DIAG_FILTER_OPERATION */
|
||||
#define MCU_DMON_DIAG_FILTER_OPERATION STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_MODE_TRANSITION_SUPPORT */
|
||||
#define MCU_MODE_TRANSITION_SUPPORT STD_OFF
|
||||
|
||||
/* Pre-compile option for for availability of ECM */
|
||||
#define MCU_ECM_OPERATION STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_ISR_CATEGORY_2 */
|
||||
#define MCU_ISR_CATEGORY_2 STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_RAM_ECC_OPERATION */
|
||||
#define MCU_RAM_ECC_OPERATION STD_OFF
|
||||
|
||||
/* Pre-compile option for MCU_RAM_ECCECM_SETTING_INITRAMSECTION */
|
||||
#define MCU_RAM_ECCECM_SETTING_INITRAMSECTION STD_OFF
|
||||
|
||||
#define MCU_RPCCKCR_ADDRESS (uint32)0xE6150874UL
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
/* The Configuration Set Handles */
|
||||
#define Mcu_Config \
|
||||
(&Mcu_GaaConfiguration[0])
|
||||
|
||||
/* The Clock Setting Configuration Handle */
|
||||
#define McuConf_McuClockSettingConfig_McuClockSettingConfig \
|
||||
(Mcu_ClockType)0
|
||||
|
||||
#define McuRamSectorSettingConf_McuRamSectorSettingConf (Mcu_RamSectionType)0
|
||||
|
||||
/* The RAM Sector Setting Configuration Handle */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define McuRamSectorSettingConf_McuRamSectorSettingConf_001 \
|
||||
(Mcu_RamSectionType)1
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* The RAM Sector Setting Configuration Handle */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define McuRamSectorSettingConf_McuRamSectorSettingConf_002 \
|
||||
(Mcu_RamSectionType)2
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* The Mode Setting Configuration Handle */
|
||||
#define McuConf_McuModeSettingConf_McuModeSettingConf (Mcu_ModeType)0
|
||||
|
||||
#define MCU_POWER_ON_RESET_CONF 0x00U
|
||||
|
||||
/* The Power On reset Reset Reason Handle */
|
||||
#define McuConf_McuPowerOnResetConf_McuPowerOnResetConf \
|
||||
(Mcu_ResetType)MCU_POWER_ON_RESET_CONF
|
||||
|
||||
#define MCU_SW_RESET_CONF 0x03U
|
||||
|
||||
#define McuConf_McuSwResetConf_McuSwResetConf \
|
||||
(Mcu_ResetType)MCU_SW_RESET_CONF
|
||||
|
||||
#define MCU_SWDT_RESET_CONF 0x02U
|
||||
|
||||
/* The System SWDT Reset Reason Handle */
|
||||
#define McuConf_McuSWDTResetConf_McuSWDTResetConf \
|
||||
(Mcu_ResetType)MCU_SWDT_RESET_CONF
|
||||
|
||||
#define MCU_RWDT_RESET_CONF 0x01U
|
||||
|
||||
/* The System RWDT Reset Reason Handle */
|
||||
#define McuConf_McuRWDTResetConf_McuRWDTResetConf \
|
||||
(Mcu_ResetType)MCU_RWDT_RESET_CONF
|
||||
|
||||
#define MCU_MULTI_RESET_CONF 0x05U
|
||||
|
||||
/* The Multiple Reset Reason Handle */
|
||||
#define McuConf_McuMultiResetConf_McuMultiResetConf \
|
||||
(Mcu_ResetType)MCU_MULTI_RESET_CONF
|
||||
|
||||
#define MCU_RESET_UNDEFINED_CONF 0x07U
|
||||
|
||||
/* The Undefined Reset Reason Handle */
|
||||
#define McuConf_McuResetUndefinedConf_McuResetUndefinedConf \
|
||||
(Mcu_ResetType)MCU_RESET_UNDEFINED_CONF
|
||||
|
||||
#define MCU_NONE_RESET_CONF 0x06U
|
||||
|
||||
/* The None Reset Reason Handle */
|
||||
#define McuConf_McuNoneResetConf_McuNoneResetConf \
|
||||
(Mcu_ResetType)MCU_NONE_RESET_CONF
|
||||
|
||||
/* The Reset Reason Handles */
|
||||
#define McuConf_McuResetReasonConf_McuResetReasonConf (Mcu_ResetType)0x00U
|
||||
|
||||
/* The failure in stabilization of Clock sources and failure in switching of */
|
||||
/* clock sources for clock domains is Reported to DEM */
|
||||
#define MCU_E_CLOCK_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* MCU_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,387 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Port_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: PortRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\port\sample_application\V4H\19_11\config\App_PORT_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\port\generator\V4H\R1911_PORT_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Port.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:10:48
|
||||
*/
|
||||
|
||||
|
||||
#ifndef PORT_CFG_H
|
||||
#define PORT_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
#define PORT_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
#define PORT_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
#define PORT_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
#define PORT_CFG_SW_MAJOR_VERSION 1U
|
||||
#define PORT_CFG_SW_MINOR_VERSION 2U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
#define PORT_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
#define PORT_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
#define PORT_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
#define PORT_SW_MAJOR_VERSION_VALUE 1U
|
||||
#define PORT_SW_MINOR_VERSION_VALUE 2U
|
||||
#define PORT_SW_PATCH_VERSION_VALUE 0U
|
||||
#define PORT_VENDOR_ID_VALUE 59U
|
||||
#define PORT_MODULE_ID_VALUE 124U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
/* The address of FILCLKSEL8 register to implement Unintended Module Stop */
|
||||
/* Check */
|
||||
#define PORT_FILCLKSEL8_REG_ADDR (uint32)0xE60681ACUL
|
||||
|
||||
/* The address of MODSEL8 register to implement Unintended Module Stop Check */
|
||||
#define PORT_MODSEL8_REG_ADDR (uint32)0xE6068100UL
|
||||
|
||||
/* Instance ID of the PORT Driver Component */
|
||||
#define PORT_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* The DEM failure of Port_ExclusiveControl API */
|
||||
#define PORT_E_GET_CONTROL_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter_002
|
||||
|
||||
/* The DEM failure of Port_FUSEMonitoring API */
|
||||
#define PORT_E_FUSE_MONITORING_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
|
||||
/* The DEM failure of Port_UnintendedModuleStopCheck API */
|
||||
#define PORT_E_UNINTENDED_MODULE_STOP_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter_001
|
||||
|
||||
/* Enables/Disables Port_GetVersionInfo API */
|
||||
#define PORT_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Enables/Disables Port_SetPinDirection API */
|
||||
#define PORT_SET_PIN_DIRECTION_API STD_ON
|
||||
|
||||
/* Enables/Disables Port_SetPinDefaultDirection API */
|
||||
#define PORT_SET_PIN_DEFAULT_DIRECTION_API STD_ON
|
||||
|
||||
/* Enables/Disables Port_SetToDioMode and Port_SetToAlternateMode API */
|
||||
#define PORT_SET_TO_DIO_ALT_MODE_API STD_ON
|
||||
|
||||
/* Enables/Disables Port_SetPinMode API */
|
||||
#define PORT_SET_PIN_MODE_API STD_ON
|
||||
|
||||
/* Enables/Disables PortFUSEMonitoringApi */
|
||||
#define PORT_FUSE_MONITORING_API STD_ON
|
||||
|
||||
/* Enables/Disables Port_UnintendedModuleStopCheck API */
|
||||
#define PORT_UNINTENDED_MODULE_STOP_CHECK STD_ON
|
||||
|
||||
/* Enables/Disables Development error detect */
|
||||
#define PORT_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Enable/Disable the enter/exit critical section functionality */
|
||||
#define PORT_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Pre-compile option to enable or disable version check of inter-module */
|
||||
/* dependencies */
|
||||
#define PORT_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Enables/Disables Dem error detect */
|
||||
#define PORT_DEM_ERROR_DETECT STD_ON
|
||||
|
||||
/* Indicates the number of Alternative Modes */
|
||||
#define PORT_MAX_MODE (uint8)0x05
|
||||
|
||||
/* Enables/Disables Port_ExclusiveControl */
|
||||
#define PORT_EXCLUSIVE_CONTROL STD_ON
|
||||
|
||||
/* Availability of numeric port groups */
|
||||
#define PORT_NUM_PORT_GROUPS_AVAILABLE STD_ON
|
||||
|
||||
/* Availability of numeric chattering filter groups */
|
||||
#define PORT_FILONOFF_REG_CONFIG STD_ON
|
||||
|
||||
/* Availability of numeric port safe state groups */
|
||||
#define PORT_SFS_REG_CONFIG STD_OFF
|
||||
|
||||
/* Availability of numeric module select register */
|
||||
#define PORT_MODSEL_REG_CONFIG STD_OFF
|
||||
|
||||
/* Availability of numeric bus domain protection */
|
||||
#define PORT_DMPR_REGS_AVAILABLE STD_OFF
|
||||
|
||||
/* Enables/Disables Port_Ecm API */
|
||||
#define PORT_SUPPORT_ECM STD_OFF
|
||||
|
||||
/* Enables/Disables feautre DNF */
|
||||
#define PORT_DNF_GROUPS_AVAILABLE STD_OFF
|
||||
|
||||
/* Address of MFISLCKR registers to implement exclusive control for PFC/GPIO */
|
||||
/* Module register */
|
||||
#define PORT_MFISLCKR_REG_ADDR (uint32)0xE62600C0UL
|
||||
|
||||
/* The User Base Address of PFC/GPIO module which configured */
|
||||
#define PORT_USER_BASE_ADDRESS1 (uint32)0xE6050000UL
|
||||
|
||||
/* The User Base Address of PFC/GPIO module which configured */
|
||||
#define PORT_USER_BASE_ADDRESS2 (uint32)0xE6060000UL
|
||||
|
||||
/* Timeout Value for exclusive control */
|
||||
#define PORT_EXCLUSIVE_CONTROL_TIMEOUT (uint32)0x0003E99AUL
|
||||
|
||||
/* The Total number of FILONOFF registers configured */
|
||||
#define PORT_NUM_FILONOFF_REGS (uint8)0x09U
|
||||
|
||||
/* The Total number of PSER registers configured */
|
||||
#define PORT_NUM_SFS_REGS (uint8)0x00U
|
||||
|
||||
/* The Total number of Groups which configured */
|
||||
#define PORT_NUM_GROUP_REGS (uint8)0x09U
|
||||
|
||||
/* The Total number of function PFC registers configured */
|
||||
#define PORT_NUM_PFC_REGS (uint8)0x1BU
|
||||
|
||||
/* The Total number of DMPR registers configured */
|
||||
#define PORT_NUM_DMPR_REGS (uint8)0x00U
|
||||
|
||||
/* The Total number of IPSR registers configured */
|
||||
#define PORT_NUM_IPSR_REGS (uint8)0x00U
|
||||
|
||||
/* The Total number of GPIO registers configured */
|
||||
#define PORT_NUM_GPIO_REGS (uint8)0x51U
|
||||
|
||||
/* The Total number of INOUTSEL registers configured */
|
||||
#define PORT_NUM_INOUTSEL_REGS (uint8)0x09U
|
||||
|
||||
/* The Total number of MODSEL registers configured */
|
||||
#define PORT_NUM_MODSEL_REGS (uint8)0x00U
|
||||
|
||||
/* The Total number of Pin Direction Changeable configured */
|
||||
#define PORT_NUM_PINS_DIR_CHANGEABLE (uint8)0x0CU
|
||||
|
||||
/* The Total number of Pin Dio Alt Changeable configured */
|
||||
#define PORT_NUM_PINS_DIO_ALT_CHANGEABLE (uint8)0x0BU
|
||||
|
||||
/* The Total number of Pin mode changeable configured */
|
||||
#define PORT_NUM_PINS_MODE_CHANGEABLE (uint8)0x0BU
|
||||
|
||||
/* The following constant contains total number of pins configured */
|
||||
#define PORT_TOTAL_NUMBER_OF_PINS (uint8)0x1DU
|
||||
|
||||
/* The total number register of API Port_FUSEMonitoring */
|
||||
#define PORT_MAX_NO_FUSE_REG (uint8)0x02U
|
||||
|
||||
|
||||
/* Port Pin Handles */
|
||||
#define PortConf_PortGroup0_PortPin1 (Port_PinType)0
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup0_PortPin2 (Port_PinType)1
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup0_PortPin7 (Port_PinType)2
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup1_PortPin1 (Port_PinType)3
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup1_PortPin2 (Port_PinType)4
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup1_PortPin6 (Port_PinType)5
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup1_PortPin8 (Port_PinType)6
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup1_PortPin15 (Port_PinType)7
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup2_PortPin1 (Port_PinType)8
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup2_PortPin2 (Port_PinType)9
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup3_PortPin1 (Port_PinType)10
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup3_PortPin2 (Port_PinType)11
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup3_PortPin14 (Port_PinType)12
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup4_PortPin1 (Port_PinType)13
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup4_PortPin2 (Port_PinType)14
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup4_PortPin23 (Port_PinType)15
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup4_PortPin24 (Port_PinType)16
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup5_PortPin1 (Port_PinType)17
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup5_PortPin2 (Port_PinType)18
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup6_PortPin1 (Port_PinType)19
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup6_PortPin2 (Port_PinType)20
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup7_PortPin1 (Port_PinType)21
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup7_PortPin2 (Port_PinType)22
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup8_PortPin0 (Port_PinType)23
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup8_PortPin1 (Port_PinType)24
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup8_PortPin2 (Port_PinType)25
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup8_PortPin10 (Port_PinType)26
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup8_PortPin12 (Port_PinType)27
|
||||
/* END Msg(7:0791)-1 */
|
||||
/* MISRA Violation: START Msg(7:0791)-1 */
|
||||
#define PortConf_PortGroup8_PortPin13 (Port_PinType)28
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
|
||||
|
||||
/* Configuration Set Handles */
|
||||
#define PortConfigSet \
|
||||
(&Port_GstConfiguration[0])
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* PORT_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,369 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Spi_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: SpiRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\spi\sample_application\V4H\19_11\config\App_SPI_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\spi\generator\V4H\R1911_SPI_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_SPI_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\PORT_SPI_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Spi.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:28
|
||||
*/
|
||||
|
||||
|
||||
#ifndef SPI_CFG_H
|
||||
#define SPI_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "App_SPI_Cbk.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (7:0791) [U] Macro identifier does not differ from other */
|
||||
/* macro identifier(s) (e.g. '') within the specified */
|
||||
/* number of significant characters. */
|
||||
/* Rule : MISRA-C:2012 Rule-5.4 */
|
||||
/* Justification : This macro identifier is following AUTOSAR standard rule */
|
||||
/* (Symbolic Name or Published Macro's name), */
|
||||
/* so this is accepted. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(7:0791)-1 and */
|
||||
/* END Msg(7:0791)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR specification version information */
|
||||
#define SPI_AR_VERSION SPI_AR_1911_VERSION
|
||||
|
||||
#define SPI_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
|
||||
#define SPI_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
|
||||
#define SPI_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define SPI_CFG_SW_MAJOR_VERSION 1U
|
||||
|
||||
#define SPI_CFG_SW_MINOR_VERSION 6U
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
|
||||
#define SPI_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
|
||||
#define SPI_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
|
||||
#define SPI_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
|
||||
#define SPI_SW_MAJOR_VERSION_VALUE 1U
|
||||
|
||||
#define SPI_SW_MINOR_VERSION_VALUE 6U
|
||||
|
||||
#define SPI_SW_PATCH_VERSION_VALUE 0U
|
||||
|
||||
#define SPI_VENDOR_ID_VALUE 59U
|
||||
|
||||
#define SPI_MODULE_ID_VALUE 83U
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/* Instance ID of the SPI SpiDriver */
|
||||
#define SPI_INSTANCE_ID_VALUE 0U
|
||||
|
||||
/* Enables/Disables GetVersionInfo API */
|
||||
#define SPI_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Enables/Disables GetHWUnitStatus API */
|
||||
#define SPI_HW_STATUS_API STD_ON
|
||||
|
||||
/* Enables/Disables Cancel API */
|
||||
#define SPI_CANCEL_API STD_ON
|
||||
|
||||
/* Enables/Disables Cancel API */
|
||||
#define SPI_FORCE_CANCEL_API STD_ON
|
||||
|
||||
/* Enables/Disables Development error detection */
|
||||
#define SPI_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option for enable or disable inter-module dependencies */
|
||||
#define SPI_VERSION_CHECK_EXT_MODULES STD_ON
|
||||
|
||||
/* Switches the Interruptible SpiSequence handling functionality ON or OFF */
|
||||
#define SPI_INTERRUPTIBLE_SEQ_ALLOWED STD_ON
|
||||
|
||||
/* Enables/Disables configuration of critical section functionality */
|
||||
#define SPI_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
/* Specifies whether concurrent Spi_SyncTransmit() calls for different */
|
||||
/* sequences shall be configurable */
|
||||
#define SPI_SUPPORT_CONCURRENT_SYNC_TRANSMIT STD_ON
|
||||
|
||||
/* Specifies whether concurrent async transmission is enabled or not. */
|
||||
#define SPI_SUPPORT_CONCURRENT_ASYNC_TRANSMIT STD_ON
|
||||
|
||||
/* Enables/Disables the SPI_E_ALREADY_INITIALIZED Det error check in */
|
||||
/* Spi_Init API */
|
||||
#define SPI_ALREADY_INIT_DET_CHECK STD_ON
|
||||
|
||||
/* Enables/Disables the names configured in SpiSeqStartNotification */
|
||||
#define SPI_SEQ_STARTNOTIFICATION_ENABLED STD_ON
|
||||
|
||||
/* Enables/Disables the check for the names configured for synchronous */
|
||||
/* transmissions in SpiSeqEndNotification */
|
||||
#define SPI_SYNC_SEQ_ENDNOTIFICATION_ENABLED STD_ON
|
||||
|
||||
/* Enables/Disables the check when HW configuration is static or dynamic HW */
|
||||
#define SPI_PERSISTENT_HW_CONFIGURATION_ENABLED STD_ON
|
||||
|
||||
/* This parameter enables/disables module wise ISR category. */
|
||||
#define SPI_ISR_CATEGORY_2 STD_OFF
|
||||
|
||||
/* Enables/Disables the SpiDma mode */
|
||||
#define SPI_DMA_CONFIGURED STD_OFF
|
||||
|
||||
/* Enables/Disables the Hardware Redundancy functionality for SYS-DMAC */
|
||||
#define SPI_DMA_REDUNDANCY_CHECK STD_OFF
|
||||
|
||||
/* Enables/Disables the Unintended Interrupt check for SPI driver */
|
||||
#define SPI_UNINTENDED_INTERRUPT_CHECK STD_ON
|
||||
|
||||
/* Enables/Disables the Write-Verify Check functionality for SPI driver */
|
||||
#define SPI_WRITE_VERIFY_CHECK STD_ON
|
||||
|
||||
/* Configuration of CSIH hardware unit */
|
||||
#define SPI_CSIH_CONFIGURED STD_OFF
|
||||
|
||||
/* Configuration of HSPI hardware unit */
|
||||
#define SPI_HSPI_CONFIGURED STD_OFF
|
||||
|
||||
/* Configuration of MSPI hardware unit */
|
||||
#define SPI_MSPI_CONFIGURED STD_OFF
|
||||
|
||||
/* Configuration of MSIOF hardware unit */
|
||||
#define SPI_MSIOF_CONFIGURED STD_ON
|
||||
|
||||
/* Configuration of CS as GPIO */
|
||||
#define SPI_CS_VIA_GPIO_CONFIGURED STD_OFF
|
||||
|
||||
/* The maximum number of HW unit types in all configuration sets */
|
||||
#define SPI_MAX_MACRO 1UL
|
||||
|
||||
/* Handles for configured HW unit type as MSIOF */
|
||||
#define SPI_MACRO_MSIOF 0U
|
||||
|
||||
/* Select the SPI Handler/SpiDriver level of scalable functionality */
|
||||
#define SPI_LEVEL_DELIVERED 2U
|
||||
|
||||
/* Select the SPI Handler/SpiDriver Channel Buffers usage allowed */
|
||||
#define SPI_CHANNEL_BUFFERS_ALLOWED 2U
|
||||
|
||||
/* Number of Tx/Rx IB buffers of channels associated to Direct Access mode, */
|
||||
/* FIFO mode */
|
||||
#define SPI_MAX_CHANNEL_BUFFER_SIZE 256U
|
||||
|
||||
/* Number of Channels configured SpiChannelType as EB */
|
||||
#define SPI_EBDATA_SIZE 1U
|
||||
|
||||
/* The maximum value of SpiMaxChannel in all configuration sets */
|
||||
#define SPI_MAX_CHANNEL (Spi_ChannelType)2U
|
||||
|
||||
/* The maximum value of SpiMaxJob in all configuration sets */
|
||||
#define SPI_MAX_JOB (Spi_JobType)3U
|
||||
|
||||
/* The maximum value of SpiMaxSequence in all configuration sets */
|
||||
#define SPI_MAX_SEQUENCE (Spi_SequenceType)3U
|
||||
|
||||
/* Gives the maximum queue used */
|
||||
#define SPI_MAX_QUEUE 3U
|
||||
|
||||
/* The maximum number of HW channels in all configuration sets */
|
||||
#define SPI_MAX_HWUNIT 2U
|
||||
|
||||
/* The reference to DEM event parameter for hardware error */
|
||||
#define SPI_E_HARDWARE_ERROR \
|
||||
DemConf_DemEventParameter_DemEventParameter_001
|
||||
/* The reference to DEM event parameter for data timeout failure */
|
||||
#define SPI_E_DATA_TX_TIMEOUT_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter
|
||||
/* The reference to DEM event parameter for Unintended interrupt error */
|
||||
#define SPI_E_INTERRUPT_CONTROLLER_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter_003
|
||||
/* The reference to DEM event parameter for write verify error */
|
||||
#define SPI_E_WRITE_VERIFY_FAILURE \
|
||||
DemConf_DemEventParameter_DemEventParameter_004
|
||||
|
||||
/* Handles for configured SpiChannel */
|
||||
/* QAC warning: START Msg(7:0791)-1 */
|
||||
#define SpiConf_SpiChannel_SpiChannel (Spi_ChannelType)0U
|
||||
#define SpiConf_SpiChannel_SpiChannel_001 (Spi_ChannelType)1U
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* Handles for configured SpiJob */
|
||||
#define SpiConf_SpiJob_SpiJob (Spi_JobType)0U
|
||||
#define SpiConf_SpiJob_SpiJob_001 (Spi_JobType)1U
|
||||
#define SpiConf_SpiJob_SpiJob_002 (Spi_JobType)2U
|
||||
|
||||
/* Handles for configured SpiSequence */
|
||||
/* QAC warning: START Msg(7:0791)-1 */
|
||||
#define SpiConf_SpiSequence_SpiSequence (Spi_SequenceType)0U
|
||||
#define SpiConf_SpiSequence_SpiSequence_001 (Spi_SequenceType)1U
|
||||
#define SpiConf_SpiSequence_SpiSequence_002 (Spi_SequenceType)2U
|
||||
/* END Msg(7:0791)-1 */
|
||||
|
||||
/* Handles for configured HW unit */
|
||||
#define SPI_MSIOF1 (Spi_HWUnitType)0U
|
||||
#define SPI_MSIOF2 (Spi_HWUnitType)1U
|
||||
|
||||
/* Handles for configured SpiDriver */
|
||||
/* QAC warning: START Msg(4:3452)-1 */
|
||||
#define Spi_Config \
|
||||
(&Spi_GaaConfiguration[0])
|
||||
/* END Msg(4:3452)-1 */
|
||||
/* Macros for enabling/disabling Hardware units ISRs */
|
||||
#define SPI_MSIOF0_ISR_API STD_OFF
|
||||
#define SPI_MSIOF1_ISR_API STD_ON
|
||||
#define SPI_MSIOF2_ISR_API STD_ON
|
||||
#define SPI_MSIOF3_ISR_API STD_OFF
|
||||
#define SPI_MSIOF4_ISR_API STD_OFF
|
||||
#define SPI_MSIOF5_ISR_API STD_OFF
|
||||
#define SPI_DMA0_00_ISR_API STD_OFF
|
||||
#define SPI_DMA0_01_ISR_API STD_OFF
|
||||
#define SPI_DMA0_02_ISR_API STD_OFF
|
||||
#define SPI_DMA0_03_ISR_API STD_OFF
|
||||
#define SPI_DMA0_04_ISR_API STD_OFF
|
||||
#define SPI_DMA0_05_ISR_API STD_OFF
|
||||
#define SPI_DMA0_06_ISR_API STD_OFF
|
||||
#define SPI_DMA0_07_ISR_API STD_OFF
|
||||
#define SPI_DMA0_08_ISR_API STD_OFF
|
||||
#define SPI_DMA0_09_ISR_API STD_OFF
|
||||
#define SPI_DMA0_10_ISR_API STD_OFF
|
||||
#define SPI_DMA0_11_ISR_API STD_OFF
|
||||
#define SPI_DMA0_12_ISR_API STD_OFF
|
||||
#define SPI_DMA0_13_ISR_API STD_OFF
|
||||
#define SPI_DMA0_14_ISR_API STD_OFF
|
||||
#define SPI_DMA0_15_ISR_API STD_OFF
|
||||
#define SPI_DMA1_00_ISR_API STD_OFF
|
||||
#define SPI_DMA1_01_ISR_API STD_OFF
|
||||
#define SPI_DMA1_02_ISR_API STD_OFF
|
||||
#define SPI_DMA1_03_ISR_API STD_OFF
|
||||
#define SPI_DMA1_04_ISR_API STD_OFF
|
||||
#define SPI_DMA1_05_ISR_API STD_OFF
|
||||
#define SPI_DMA1_06_ISR_API STD_OFF
|
||||
#define SPI_DMA1_07_ISR_API STD_OFF
|
||||
#define SPI_DMA1_08_ISR_API STD_OFF
|
||||
#define SPI_DMA1_09_ISR_API STD_OFF
|
||||
#define SPI_DMA1_10_ISR_API STD_OFF
|
||||
#define SPI_DMA1_11_ISR_API STD_OFF
|
||||
#define SPI_DMA1_12_ISR_API STD_OFF
|
||||
#define SPI_DMA1_13_ISR_API STD_OFF
|
||||
#define SPI_DMA1_14_ISR_API STD_OFF
|
||||
#define SPI_DMA1_15_ISR_API STD_OFF
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* SPI_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,249 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Spi_Lcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains link time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: SpiRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\spi\sample_application\V4H\19_11\config\App_SPI_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\spi\generator\V4H\R1911_SPI_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_SPI_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\PORT_SPI_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Spi.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:28
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
/* MISRA Violation: START Msg(2:0857)-4 */
|
||||
#include "Spi.h"
|
||||
/* END Msg(2:0857)-4 */
|
||||
#include "Spi_Ram.h"
|
||||
/* MISRA Violation: START Msg(2:0857)-4 */
|
||||
#include "Spi_MSIOF_LLDriver.h"
|
||||
/* END Msg(2:0857)-4 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0306) [I] Cast between a pointer to object and an */
|
||||
/* integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule 11.4, CWE-398, CWE-569, CWE-738 */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0306)-1 and */
|
||||
/* END Msg(2:0306)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2004 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-2 and */
|
||||
/* END Msg(4:5087)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1531) The object 'name' is referenced in only one */
|
||||
/* translation unit - but not the one in which */
|
||||
/* it is defined. */
|
||||
/* Rule : MISRA-C:2012 Rule-8.7, CWE-398, CWE-569 */
|
||||
/* Justification : Followed coding rules, the objects (global variable/const) */
|
||||
/* is define in separated source file, so this could */
|
||||
/* be accepted */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1531)-3 and */
|
||||
/* END Msg(1:1531)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0857) Number of macro definitions exceeds 1024 - */
|
||||
/* program does not conform strictly to ISO:C90. */
|
||||
/* Rule : MISRA-C:2012 Dir 1.1 */
|
||||
/* Justification : The number of macro depend on module code size. There is */
|
||||
/* no issue when number of macro is over 1024 */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0857)-4 and */
|
||||
/* END Msg(2:0857)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
|
||||
/* AUTOSAR specification version information */
|
||||
#define SPI_LCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
|
||||
#define SPI_LCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
|
||||
#define SPI_LCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define SPI_LCFG_C_SW_MAJOR_VERSION 1U
|
||||
|
||||
#define SPI_LCFG_C_SW_MINOR_VERSION 6U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (SPI_LTTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
SPI_LCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Spi_Lcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_LTTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
SPI_LCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Spi_Lcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_LTTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
SPI_LCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Spi_Lcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_LTTYPES_SW_MAJOR_VERSION != SPI_LCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Spi_Lcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_LTTYPES_SW_MINOR_VERSION != SPI_LCFG_C_SW_MINOR_VERSION)
|
||||
#error "Spi_Lcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define SPI_START_SEC_CONST_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-2 */
|
||||
#include "Spi_MemMap.h"
|
||||
/* END Msg(4:5087)-2 */
|
||||
|
||||
|
||||
/* MSIOF Register set information */
|
||||
/* MISRA Violation: START Msg(1:1531)-3 */
|
||||
CONST(Spi_MSIOFRegisterSetType, SPI_CONFIG_DATA) Spi_GaaMSIOFRegs[] =
|
||||
{
|
||||
/* Index: 0 - MSIOF0 */
|
||||
{
|
||||
/* pRegs */
|
||||
/* MISRA Violation: START Msg(5:0306)-1 */
|
||||
(Spi_MSIOFRegType*)0xE6E90000UL
|
||||
/* END Msg(5:0306)-1 */
|
||||
},
|
||||
/* Index: 1 - MSIOF1 */
|
||||
{
|
||||
/* pRegs */
|
||||
/* MISRA Violation: START Msg(5:0306)-1 */
|
||||
(Spi_MSIOFRegType*)0xE6EA0000UL
|
||||
/* END Msg(5:0306)-1 */
|
||||
},
|
||||
/* Index: 2 - MSIOF2 */
|
||||
{
|
||||
/* pRegs */
|
||||
/* MISRA Violation: START Msg(5:0306)-1 */
|
||||
(Spi_MSIOFRegType*)0xE6C00000UL
|
||||
/* END Msg(5:0306)-1 */
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1531)-3 */
|
||||
|
||||
#define SPI_STOP_SEC_CONST_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-2 */
|
||||
#include "Spi_MemMap.h"
|
||||
/* END Msg(4:5087)-2 */
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,851 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Spi_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post-build time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: SpiRCAR.dll version: 1.1.0, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\spi\sample_application\V4H\19_11\config\App_SPI_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\spi\generator\V4H\R1911_SPI_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_SPI_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\PORT_SPI_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Spi.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:28
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
/* MISRA Violation: START Msg(2:0857)-6 */
|
||||
#include "Spi.h"
|
||||
/* END Msg(2:0857)-6 */
|
||||
#include "Spi_Ram.h"
|
||||
/* MISRA Violation: START Msg(2:0857)-6 */
|
||||
#include "Spi_MSIOF_LLDriver.h"
|
||||
/* END Msg(2:0857)-6 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** QAC Warning **
|
||||
*******************************************************************************/
|
||||
/* 1. QAC Warning: */
|
||||
/* Message : (2:0751) Casting to char pointer type. */
|
||||
/* Rule : CERTCCM EXP39, EXP11, CWE-188, CWE-398, CWE-468, CWE-588, */
|
||||
/* CWE-465, CWE-569, CWE-737 */
|
||||
/* Justification : Using void due to specific requirement of input parameter. */
|
||||
/* So, this can be skipped */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0751)-1 and */
|
||||
/* END Msg(2:0751)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0303) [I] Cast between a pointer to volatile object */
|
||||
/* and an integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule 11.4, CWE-398, CWE-569 */
|
||||
/* REFERENCE - ISO:C90-6.3.4 Cast Operators - Semantics */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0303)-1 and */
|
||||
/* END Msg(2:0303)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 2. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0488) Performing Pointer arithmetic. */
|
||||
/* Rule : MISRA C:2012 Rule-18.4, CWE-188, CWE-398, CWE-569 */
|
||||
/* REFERENCE - ISO:C90-6.3.6 Additive Operators - Constraints */
|
||||
/* Justification : This is to get the ID in the data structure in the code. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0488)-2 and */
|
||||
/* END Msg(2:0488)-2 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 3. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0306) Cast between a pointer to volatile object and */
|
||||
/* an integral type. */
|
||||
/* Rule : MISRA-C:2012 Rule 11.6, 11.4, CWE-398, CWE-569, CWE-738 */
|
||||
/* REFERENCE - ISO:C90-6.3.4 Cast Operator Semantics */
|
||||
/* Justification : Typecasting is done as per the register size, to access */
|
||||
/* hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0306)-3 and */
|
||||
/* END Msg(2:0306)-3 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 4. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA-C:2004 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, */
|
||||
/* (MEMMAP003 - Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually and */
|
||||
/* it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-4 and */
|
||||
/* END Msg(4:5087)-4 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 5. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0315) Implicit conversion from a pointer to object type */
|
||||
/* to a pointer to void. */
|
||||
/* REFERENCE - ISO:C90-6.3.4 Cast Operator Semantics */
|
||||
/* Rule : MISRA C:2012 Dir-1.1, CWE-188, CWE-398, CWE-569 */
|
||||
/* Justification : Typecasting is done as per the register size, */
|
||||
/* to access hardware registers. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0315)-5 and */
|
||||
/* END Msg(2:0315)-5 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 6. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0857) Number of macro definitions exceeds 1024 - */
|
||||
/* program does not conform strictly to ISO:C90. */
|
||||
/* Rule : MISRA-C:2012 Dir 1.1 */
|
||||
/* Justification : The number of macro depend on module code size. There is */
|
||||
/* no issue when number of macro is over 1024 */
|
||||
/* Verification : However, part of the code is verified manually and it is */
|
||||
/* not having any impact. */
|
||||
/* Reference : Look for START Msg(2:0857)-6 and */
|
||||
/* END Msg(2:0857)-6 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 7. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:3432) Simple macro argument expression is not */
|
||||
/* parenthesized. */
|
||||
/* Rule : MISRA-C:2012 Rule-20.7, CWE-398, CWE-569 */
|
||||
/* Justification : Compiler keyword (macro) is defined and used followed */
|
||||
/* AUTOSAR standard rule. It is accepted. */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(2:3432)-7 and */
|
||||
/* END Msg(2:3432)-7 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 8. MISRA C RULE VIOLATION: */
|
||||
/* Message : (1:1502) The object '%1s' is defined but */
|
||||
/* is not used within this project. */
|
||||
/* Rule : MISRA C:2012 Rule-2.8, CWE Rule CWE-398, CWE-569, */
|
||||
/* CERTC Rule MSC13 */
|
||||
/* Justification : Array is used in another part of driver code. */
|
||||
/* There is no problem in use */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(1:1502)-21 and */
|
||||
/* END Msg(1:1502)-21 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
/* 9. MISRA C RULE VIOLATION: */
|
||||
/* Message : (2:0489) Increment or decrement operation performed */
|
||||
/* on pointer */
|
||||
/* Rule : CWE-188, CWE-398, CWE-468, CWE-465, CWE-569 */
|
||||
/* Justification: Because it uses a circular list, */
|
||||
/* it will not be an out-of-scope access. */
|
||||
/* Verification : There is no problem because it is circulated in the */
|
||||
/* secured area. */
|
||||
/* Reference : Look for QAC Warning: START Msg(2:0489)-10 and */
|
||||
/* END Msg(2:0489)-10 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
|
||||
/* AUTOSAR specification version information */
|
||||
#define SPI_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
|
||||
#define SPI_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
|
||||
#define SPI_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information */
|
||||
#define SPI_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
|
||||
#define SPI_PBCFG_C_SW_MINOR_VERSION 6U
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
#if (SPI_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
SPI_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Spi_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
SPI_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Spi_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
SPI_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Spi_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_PBTYPES_SW_MAJOR_VERSION != SPI_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Spi_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
|
||||
#if (SPI_PBTYPES_SW_MINOR_VERSION != SPI_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "Spi_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
#define SPI_START_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-4 */
|
||||
#include "Spi_MemMap.h"
|
||||
/* END Msg(4:5087)-4 */
|
||||
|
||||
|
||||
/* Array for hardware unit information */
|
||||
STATIC CONST(Spi_HWUnitInfoType, SPI_CONFIG_DATA) Spi_GaaHWUnitInfo[] =
|
||||
{
|
||||
/* Index: 0 - MSIOF1 */
|
||||
{
|
||||
/* ucMacroIndex */
|
||||
SPI_MACRO_MSIOF,
|
||||
|
||||
/* ucPhyUnitIndex */
|
||||
0x01U
|
||||
},
|
||||
/* Index: 1 - MSIOF2 */
|
||||
{
|
||||
/* ucMacroIndex */
|
||||
SPI_MACRO_MSIOF,
|
||||
|
||||
/* ucPhyUnitIndex */
|
||||
0x02U
|
||||
}
|
||||
};
|
||||
|
||||
/* This array map hardware unit MSIOF to hardware unit info array */
|
||||
STATIC CONST(uint8, SPI_CONFIG_DATA) Spi_GaaMSIOFToHWUnit[] =
|
||||
{
|
||||
/* Index: 0 */
|
||||
0x00U, 0x00U, 0x01U
|
||||
};
|
||||
|
||||
/* This array contains list of JobIds that used in sequence */
|
||||
STATIC CONST(Spi_JobType, SPI_CONFIG_DATA) Spi_GaaJobList01[] =
|
||||
{
|
||||
/* Index: 0 - SpiSequence */
|
||||
0x00U
|
||||
};
|
||||
|
||||
/* This array contains list of JobIds that used in sequence */
|
||||
STATIC CONST(Spi_JobType, SPI_CONFIG_DATA) Spi_GaaJobList12[] =
|
||||
{
|
||||
/* Index: 1 - SpiSequence_001 */
|
||||
0x01U
|
||||
};
|
||||
|
||||
/* This array contains list of JobIds that used in sequence */
|
||||
STATIC CONST(Spi_JobType, SPI_CONFIG_DATA) Spi_GaaJobList21[] =
|
||||
{
|
||||
/* Index: 2 - SpiSequence_002 */
|
||||
0x02U
|
||||
};
|
||||
|
||||
/* This array contains list of JobIds that used in sequence */
|
||||
STATIC CONST(Spi_JobType, SPI_CONFIG_DATA) Spi_GaaJobList00[] =
|
||||
{
|
||||
/* Index: 0 - SpiSequence */
|
||||
0x00U
|
||||
};
|
||||
|
||||
/* This array contains list of JobIds that used in sequence */
|
||||
STATIC CONST(Spi_JobType, SPI_CONFIG_DATA) Spi_GaaJobList10[] =
|
||||
{
|
||||
/* Index: 1 - SpiSequence_001 */
|
||||
0x01U
|
||||
};
|
||||
|
||||
/* This array contains list of JobIds that used in sequence */
|
||||
STATIC CONST(Spi_JobType, SPI_CONFIG_DATA) Spi_GaaJobList20[] =
|
||||
{
|
||||
/* Index: 2 - SpiSequence_002 */
|
||||
0x02U
|
||||
};
|
||||
|
||||
/* This array contains list of ChannelIds that used in job */
|
||||
STATIC CONST(Spi_ChannelType, SPI_CONFIG_DATA) Spi_GaaChannelList0[] =
|
||||
{
|
||||
/* Index: 0 - SpiJob */
|
||||
0x00U
|
||||
};
|
||||
|
||||
/* This array contains list of ChannelIds that used in job */
|
||||
STATIC CONST(Spi_ChannelType, SPI_CONFIG_DATA) Spi_GaaChannelList1[] =
|
||||
{
|
||||
/* Index: 1 - SpiJob_001 */
|
||||
0x01U
|
||||
};
|
||||
|
||||
/* This array contains list of ChannelIds that used in job */
|
||||
STATIC CONST(Spi_ChannelType, SPI_CONFIG_DATA) Spi_GaaChannelList2[] =
|
||||
{
|
||||
/* Index: 2 - SpiJob_002 */
|
||||
0x00U
|
||||
};
|
||||
|
||||
/* This array contains device configuration for MSIOF */
|
||||
STATIC CONST(Spi_MSIOFDeviceConfigType, SPI_CONFIG_DATA)
|
||||
Spi_GaaMSIOFDeviceConfig[] =
|
||||
{
|
||||
/* Index: 0 - SpiExternalDevice */
|
||||
{
|
||||
/* ulSITMDR1 */
|
||||
0xE221000DUL,
|
||||
|
||||
/* ulSIRMDR1 */
|
||||
0x22000000UL,
|
||||
|
||||
/* ulSICTR */
|
||||
0xAC400000UL,
|
||||
|
||||
/* usSITSCR */
|
||||
0x1F04U
|
||||
},
|
||||
/* Index: 1 - SpiExternalDevice_001 */
|
||||
{
|
||||
/* ulSITMDR1 */
|
||||
0x62210001UL,
|
||||
|
||||
/* ulSIRMDR1 */
|
||||
0x22000000UL,
|
||||
|
||||
/* ulSICTR */
|
||||
0xAC400000UL,
|
||||
|
||||
/* usSITSCR */
|
||||
0x0000U
|
||||
},
|
||||
/* Index: 2 - SpiExternalDevice_002 */
|
||||
{
|
||||
/* ulSITMDR1 */
|
||||
0xE221000DUL,
|
||||
|
||||
/* ulSIRMDR1 */
|
||||
0x22000000UL,
|
||||
|
||||
/* ulSICTR */
|
||||
0xAC400000UL,
|
||||
|
||||
/* usSITSCR */
|
||||
0x1F04U
|
||||
}
|
||||
};
|
||||
|
||||
/* HW-dependent configuration */
|
||||
STATIC CONST(Spi_HwConfigType, SPI_CONFIG_DATA) Spi_GaaHwConfig[] =
|
||||
{
|
||||
/* Index: 0 - MSIOF */
|
||||
{
|
||||
/* pHwDepFunc */
|
||||
&Spi_GstMSIOFFunc,
|
||||
|
||||
/* pPhyToHWUnit */
|
||||
&Spi_GaaMSIOFToHWUnit[0]
|
||||
}
|
||||
};
|
||||
|
||||
/* This array contains configuration details for Channels */
|
||||
STATIC CONST(Spi_ChannelConfigType, SPI_CONFIG_DATA) Spi_GaaChannelConfig[] =
|
||||
{
|
||||
/* Index: 0 - SpiChannel */
|
||||
{
|
||||
/* ucDataWidth */
|
||||
0x10U,
|
||||
|
||||
/* ucByteSize */
|
||||
0x02U,
|
||||
|
||||
/* enTransferStart */
|
||||
SPI_TRANSFER_START_MSB,
|
||||
|
||||
/* ulDefaultData */
|
||||
0x000000AAUL,
|
||||
|
||||
/* enChannelBufferType */
|
||||
SPI_BUFFER_TYPE_EB,
|
||||
|
||||
/* usNoOfBuffers */
|
||||
0x0080U,
|
||||
|
||||
/* pTxBuffer */
|
||||
NULL_PTR,
|
||||
|
||||
/* pRxBuffer */
|
||||
NULL_PTR,
|
||||
|
||||
/* pEBData */
|
||||
&Spi_GaaEBData[0]
|
||||
},
|
||||
/* Index: 1 - SpiChannel_001 */
|
||||
{
|
||||
/* ucDataWidth */
|
||||
0x10U,
|
||||
|
||||
/* ucByteSize */
|
||||
0x02U,
|
||||
|
||||
/* enTransferStart */
|
||||
SPI_TRANSFER_START_MSB,
|
||||
|
||||
/* ulDefaultData */
|
||||
0x000000B9UL,
|
||||
|
||||
/* enChannelBufferType */
|
||||
SPI_BUFFER_TYPE_IB,
|
||||
|
||||
/* usNoOfBuffers */
|
||||
0x0040U,
|
||||
|
||||
/* pTxBuffer */
|
||||
/* QAC Warning: START Msg(2:0751)-1 */
|
||||
/* MISRA Violation: START Msg(5:0488)-2 */
|
||||
/* QAC Warning: START Msg(2:0489)-10 */
|
||||
(volatile Spi_DataBufferType*)Spi_GaaChannelBuffer + 0U,
|
||||
/* END Msg(2:0489)-10 */
|
||||
/* END Msg(5:0488)-2 */
|
||||
/* END Msg(2:0751)-1 */
|
||||
|
||||
/* pRxBuffer */
|
||||
/* QAC Warning: START Msg(2:0751)-1 */
|
||||
/* MISRA Violation: START Msg(5:0488)-2 */
|
||||
/* QAC Warning: START Msg(2:0489)-10 */
|
||||
(volatile Spi_DataBufferType*)Spi_GaaChannelBuffer + 128U,
|
||||
/* END Msg(2:0489)-10 */
|
||||
/* END Msg(5:0488)-2 */
|
||||
/* END Msg(2:0751)-1 */
|
||||
|
||||
/* pEBData */
|
||||
NULL_PTR
|
||||
}
|
||||
};
|
||||
|
||||
/* This array contains configuration details for Jobs */
|
||||
STATIC CONST(Spi_JobConfigType, SPI_CONFIG_DATA) Spi_GaaJobConfig[] =
|
||||
{
|
||||
/* Index: 0 - SpiJob */
|
||||
{
|
||||
/* ucNoOfChannels */
|
||||
0x01U,
|
||||
|
||||
/* pChannelList */
|
||||
&Spi_GaaChannelList0[0],
|
||||
|
||||
/* pJobEndNotification */
|
||||
&SpiJob0Notification,
|
||||
|
||||
/* ucJobPriority */
|
||||
0x03U,
|
||||
|
||||
/* ucHWUnitIndex */
|
||||
0x00U,
|
||||
|
||||
/* blChannelPropertySame */
|
||||
SPI_TRUE,
|
||||
|
||||
/* enCSType */
|
||||
SPI_PERIPHERAL_ENGINE_CS,
|
||||
|
||||
/* pHWDevConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaMSIOFDeviceConfig[0]
|
||||
/* END Msg(2:0315)-5 */
|
||||
},
|
||||
/* Index: 1 - SpiJob_001 */
|
||||
{
|
||||
/* ucNoOfChannels */
|
||||
0x01U,
|
||||
|
||||
/* pChannelList */
|
||||
&Spi_GaaChannelList1[0],
|
||||
|
||||
/* pJobEndNotification */
|
||||
NULL_PTR,
|
||||
|
||||
/* ucJobPriority */
|
||||
0x03U,
|
||||
|
||||
/* ucHWUnitIndex */
|
||||
0x01U,
|
||||
|
||||
/* blChannelPropertySame */
|
||||
SPI_TRUE,
|
||||
|
||||
/* enCSType */
|
||||
SPI_SLAVE_CS,
|
||||
|
||||
/* pHWDevConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaMSIOFDeviceConfig[1]
|
||||
/* END Msg(2:0315)-5 */
|
||||
},
|
||||
/* Index: 2 - SpiJob_002 */
|
||||
{
|
||||
/* ucNoOfChannels */
|
||||
0x01U,
|
||||
|
||||
/* pChannelList */
|
||||
&Spi_GaaChannelList2[0],
|
||||
|
||||
/* pJobEndNotification */
|
||||
&SpiJob0Notification,
|
||||
|
||||
/* ucJobPriority */
|
||||
0x03U,
|
||||
|
||||
/* ucHWUnitIndex */
|
||||
0x00U,
|
||||
|
||||
/* blChannelPropertySame */
|
||||
SPI_TRUE,
|
||||
|
||||
/* enCSType */
|
||||
SPI_PERIPHERAL_ENGINE_CS,
|
||||
|
||||
/* pHWDevConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaMSIOFDeviceConfig[2]
|
||||
/* END Msg(2:0315)-5 */
|
||||
}
|
||||
};
|
||||
|
||||
/* This array contains configuration details for Sequences */
|
||||
STATIC CONST(Spi_SeqConfigType, SPI_CONFIG_DATA) Spi_GaaSeqConfig[] =
|
||||
{
|
||||
/* Index: 0 - SpiSequence */
|
||||
{
|
||||
/* ulUsingHWUnits */
|
||||
0x00000001UL,
|
||||
|
||||
/* pSeqEndNotification */
|
||||
&SpiSequence0EndNotification,
|
||||
|
||||
/* pSeqStartNotification */
|
||||
NULL_PTR,
|
||||
|
||||
/* blInterruptible */
|
||||
SPI_TRUE,
|
||||
|
||||
/* aaJobSharedSequences */
|
||||
{
|
||||
0x00000000UL
|
||||
},
|
||||
|
||||
/* Index: 5 - aaSubSeqs */
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x08U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0001U,
|
||||
|
||||
/* pJobList */
|
||||
&Spi_GaaJobList00[0]
|
||||
},
|
||||
/* Index: 1 - MSIOF1 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x08U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0001U,
|
||||
|
||||
/* pJobList */
|
||||
&Spi_GaaJobList01[0]
|
||||
},
|
||||
/* Index: 2 - MSIOF2 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x00U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0000U,
|
||||
|
||||
/* pJobList */
|
||||
NULL_PTR
|
||||
}
|
||||
}
|
||||
},
|
||||
/* Index: 1 - SpiSequence_001 */
|
||||
{
|
||||
/* ulUsingHWUnits */
|
||||
0x00000002UL,
|
||||
|
||||
/* pSeqEndNotification */
|
||||
&SpiSequence0EndNotification,
|
||||
|
||||
/* pSeqStartNotification */
|
||||
NULL_PTR,
|
||||
|
||||
/* blInterruptible */
|
||||
SPI_FALSE,
|
||||
|
||||
/* aaJobSharedSequences */
|
||||
{
|
||||
0x00000000UL
|
||||
},
|
||||
|
||||
/* Index: 5 - aaSubSeqs */
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x08U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0001U,
|
||||
|
||||
/* pJobList */
|
||||
&Spi_GaaJobList10[0]
|
||||
},
|
||||
/* Index: 1 - MSIOF1 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x00U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0000U,
|
||||
|
||||
/* pJobList */
|
||||
NULL_PTR
|
||||
},
|
||||
/* Index: 2 - MSIOF2 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x08U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0001U,
|
||||
|
||||
/* pJobList */
|
||||
&Spi_GaaJobList12[0]
|
||||
}
|
||||
}
|
||||
},
|
||||
/* Index: 2 - SpiSequence_002 */
|
||||
{
|
||||
/* ulUsingHWUnits */
|
||||
0x00000001UL,
|
||||
|
||||
/* pSeqEndNotification */
|
||||
NULL_PTR,
|
||||
|
||||
/* pSeqStartNotification */
|
||||
NULL_PTR,
|
||||
|
||||
/* blInterruptible */
|
||||
SPI_TRUE,
|
||||
|
||||
/* aaJobSharedSequences */
|
||||
{
|
||||
0x00000000UL
|
||||
},
|
||||
|
||||
/* Index: 5 - aaSubSeqs */
|
||||
{
|
||||
/* Index: 0 - 0 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x08U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0001U,
|
||||
|
||||
/* pJobList */
|
||||
&Spi_GaaJobList20[0]
|
||||
},
|
||||
/* Index: 1 - MSIOF1 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x08U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0001U,
|
||||
|
||||
/* pJobList */
|
||||
&Spi_GaaJobList21[0]
|
||||
},
|
||||
/* Index: 2 - MSIOF2 */
|
||||
{
|
||||
/* ucUsingPriorities */
|
||||
0x00U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0000U,
|
||||
|
||||
/* pJobList */
|
||||
NULL_PTR
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#define SPI_STOP_SEC_CONFIG_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-4 */
|
||||
#include "Spi_MemMap.h"
|
||||
/* END Msg(4:5087)-4 */
|
||||
|
||||
|
||||
#define SPI_START_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-4 */
|
||||
#include "Spi_MemMap.h"
|
||||
/* END Msg(4:5087)-4 */
|
||||
|
||||
|
||||
/* Structure for SPI Init configuration */
|
||||
/* QAC Warning: START Msg(1:1502)-24 */
|
||||
CONST(Spi_ConfigType, SPI_CONFIG_DATA) Spi_GaaConfiguration[] =
|
||||
{
|
||||
/* Index: 0 - SpiDriver */
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0ED4C130UL,
|
||||
|
||||
/* ucNoOfHWUnits */
|
||||
0x02U,
|
||||
|
||||
/* ucNoOfChannels */
|
||||
0x02U,
|
||||
|
||||
/* usNoOfJobs */
|
||||
0x0003U,
|
||||
|
||||
/* ucNoOfSequences */
|
||||
0x03U,
|
||||
|
||||
/* pHWUnitInfo */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaHWUnitInfo[0],
|
||||
/* END Msg(2:0315)-5 */
|
||||
|
||||
/* pChannelConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaChannelConfig[0],
|
||||
/* END Msg(2:0315)-5 */
|
||||
|
||||
/* pJobConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaJobConfig[0],
|
||||
/* END Msg(2:0315)-5 */
|
||||
|
||||
/* pSequenceConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaSeqConfig[0],
|
||||
/* END Msg(2:0315)-5 */
|
||||
|
||||
/* ulTimeoutCount */
|
||||
0x000F4240UL,
|
||||
|
||||
/* pHwConfig */
|
||||
/* MISRA Violation: START Msg(2:0315)-5 */
|
||||
&Spi_GaaHwConfig[0]
|
||||
/* END Msg(2:0315)-5 */
|
||||
}
|
||||
};
|
||||
/* END Msg(1:1502)-24 */
|
||||
|
||||
#define SPI_STOP_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-4 */
|
||||
#include "Spi_MemMap.h"
|
||||
/* END Msg(4:5087)-4 */
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,287 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Wdg_Cfg.h */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains pre-compile time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: WdgRCAR.dll version: 1.0.5, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\wdg\sample_application\V4H\19_11\config\App_WDG_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_WDG_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Wdg.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\wdg\generator\V4H\R1911_WDG_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\GPT_WDG_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:19
|
||||
*/
|
||||
|
||||
|
||||
#ifndef WDG_CFG_H
|
||||
#define WDG_CFG_H
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
|
||||
/* AUTOSAR release version information. */
|
||||
#define WDG_CFG_AR_RELEASE_MAJOR_VERSION 4U
|
||||
|
||||
#define WDG_CFG_AR_RELEASE_MINOR_VERSION 5U
|
||||
|
||||
#define WDG_CFG_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information. */
|
||||
#define WDG_CFG_SW_MAJOR_VERSION 1U
|
||||
|
||||
#define WDG_CFG_SW_MINOR_VERSION 4U
|
||||
|
||||
#define WDG_AR_VERSION WDG_AR_1911_VERSION
|
||||
|
||||
/*******************************************************************************
|
||||
** Common Published Information **
|
||||
*******************************************************************************/
|
||||
|
||||
#define WDG_AR_RELEASE_MAJOR_VERSION_VALUE 4U
|
||||
|
||||
#define WDG_AR_RELEASE_MINOR_VERSION_VALUE 5U
|
||||
|
||||
#define WDG_AR_RELEASE_REVISION_VERSION_VALUE 0U
|
||||
|
||||
#define WDG_SW_MAJOR_VERSION_VALUE 1U
|
||||
|
||||
#define WDG_SW_MINOR_VERSION_VALUE 4U
|
||||
|
||||
#define WDG_SW_PATCH_VERSION_VALUE 5U
|
||||
|
||||
#define WDG_VENDOR_ID_VALUE 59U
|
||||
|
||||
#define WDG_MODULE_ID_VALUE 102U
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
/* Instance ID of the WDG Component. */
|
||||
#define WDG_INSTANCE_ID_VALUE 0U
|
||||
|
||||
|
||||
|
||||
/* Pre-compile option for development error detect. */
|
||||
#define WDG_DEV_ERROR_DETECT STD_OFF
|
||||
|
||||
/* Pre-compile option to allow or forbid disabling Watchdog Unit. */
|
||||
#define WDG_DISABLE_ALLOWED STD_ON
|
||||
|
||||
/* Pre-compile option for version info API. */
|
||||
#define WDG_VERSION_INFO_API STD_ON
|
||||
|
||||
/* Pre-compile option for enable or disable inter-module dependencies. */
|
||||
#define WDG_VER_CHECK_EXT STD_ON
|
||||
|
||||
/* Pre-compile option for critical section protection. */
|
||||
#define WDG_CRITICAL_SECTION_PROTECTION STD_ON
|
||||
|
||||
|
||||
|
||||
/* Initial timeout in msec for the trigger condition to be initialized */
|
||||
/* during Init or set mode function. */
|
||||
#define WDG_INITIAL_TIMEOUT 1000UL
|
||||
|
||||
/* Maximum timeout in msec to which the watchdog trigger condition can be */
|
||||
/* initialized. */
|
||||
#define WDG_MAXIMUM_TIMEOUT 63000U
|
||||
|
||||
/* Represents the watchdog driver execution area is either from ROM(Flash) */
|
||||
/* or RAM as required with the particular micro-controller. */
|
||||
#define WDG_RUN_AREA WDG_RAM
|
||||
|
||||
/* Represents the watchdog driver's ID. */
|
||||
#define WDG_INDEX 0U
|
||||
|
||||
/* Maximum timeout in msec for fast mode. */
|
||||
#define WDG_RWDT_FAST_MODE_TIMEOUT (uint32)1999
|
||||
|
||||
/* Maximum timeout in msec for slow mode. */
|
||||
#define WDG_RWDT_SLOW_MODE_TIMEOUT (uint32)2046002
|
||||
|
||||
|
||||
/* Watchdog trigger mode. */
|
||||
#define WDG_TRIGGER_MODE WDG_TOGGLE
|
||||
|
||||
/* The configured WDG HW IP */
|
||||
#define WDG_WDTB_CONFIGURED STD_OFF
|
||||
|
||||
/* The configured WDG HW IP */
|
||||
#define WDG_RWDT_CONFIGURED STD_ON
|
||||
|
||||
/* Timeout in msec to which GPT use to trigger watchdog in fast mode. */
|
||||
#define WDG_RWDT_FAST_TRIGGER_TIMEOUT (uint16)1800
|
||||
|
||||
/* Timeout in msec to which GPT use to trigger watchdog in slow mode. */
|
||||
#define WDG_RWDT_SLOW_TRIGGER_TIMEOUT (uint16)1800
|
||||
|
||||
/* The margin time input from user. */
|
||||
#define WDG_RWDT_TIME_MARGIN 10U
|
||||
|
||||
/* Number of main CPU (CR7) cycles need for WDG's 2 cycles timeout to check */
|
||||
/* WR flag to write value to WRTCNT register. */
|
||||
#define WDG_RWDT_WRFLAG_CHECK_TIMEOUT (uint32)8537UL
|
||||
|
||||
/* Address of Counter Register */
|
||||
#define WDG_RWDT_RWTCNT \
|
||||
(*((volatile uint16*)0xE6020000UL))
|
||||
|
||||
/* Address of Counter Register */
|
||||
#define WDG_RWDT_RWTCNT_ADDRESS (uint32)0xE6020000UL
|
||||
|
||||
/* Address of Control Register A */
|
||||
#define WDG_RWDT_RWTCSRA \
|
||||
(*((volatile uint8*)0xE6020004UL))
|
||||
|
||||
/* Address of Control Register A */
|
||||
#define WDG_RWDT_RWTCSRA_ADDRESS (uint32)0xE6020004UL
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* If switching between the modes is failed, the following error is Reported */
|
||||
/* to DEM. */
|
||||
#define WDG_E_MODE_FAILED \
|
||||
DemConf_DemEventParameter_DemEventParameter_004
|
||||
|
||||
/* If writing to register is failed, the following error is reported to DEM */
|
||||
#define WDG_E_WRITE_REGISTER_FAILED \
|
||||
DemConf_DemEventParameter_DemEventParameter_005
|
||||
|
||||
/* If writing value to counter register is failed, the following error is */
|
||||
/* reported to DEM */
|
||||
#define WDG_E_VALUE_COUNTER_FAILED \
|
||||
DemConf_DemEventParameter_DemEventParameter_003
|
||||
|
||||
|
||||
#define Wdg_Config (&Wdg_GstConfiguration)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Prototypes **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
#endif /* WDG_CFG_H */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -0,0 +1,201 @@
|
||||
/*============================================================================*/
|
||||
/* Project = AUTOSAR Renesas MCAL Components */
|
||||
/* Module = Wdg_PBcfg.c */
|
||||
/*============================================================================*/
|
||||
/* COPYRIGHT */
|
||||
/*============================================================================*/
|
||||
/* Copyright(c) 2026 Renesas Electronics Corporation. */
|
||||
/*============================================================================*/
|
||||
/* Purpose: */
|
||||
/* This file contains post-build time parameters. */
|
||||
/* AUTOMATICALLY GENERATED FILE - DO NOT EDIT */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* */
|
||||
/* Unless otherwise agreed upon in writing between your company and */
|
||||
/* Renesas Electronics Corporation the following shall apply! */
|
||||
/* */
|
||||
/* Warranty Disclaimer */
|
||||
/* */
|
||||
/* There is no warranty of any kind whatsoever granted by Renesas. Any */
|
||||
/* warranty is expressly disclaimed and excluded by Renesas, either expressed */
|
||||
/* or implied, including but not limited to those for non-infringement of */
|
||||
/* intellectual property, merchantability and/or fitness for the particular */
|
||||
/* purpose. */
|
||||
/* */
|
||||
/* Renesas shall not have any obligation to maintain, service or provide bug */
|
||||
/* fixes for the supplied Product(s) and/or the Application. */
|
||||
/* */
|
||||
/* Each User is solely responsible for determining the appropriateness of */
|
||||
/* using the Product(s) and assumes all risks associated with its exercise */
|
||||
/* of rights under this Agreement, including, but not limited to the risks */
|
||||
/* and costs of program errors, compliance with applicable laws, damage to */
|
||||
/* or loss of data, programs or equipment, and unavailability or */
|
||||
/* interruption of operations. */
|
||||
/* */
|
||||
/* Limitation of Liability */
|
||||
/* */
|
||||
/* In no event shall Renesas be liable to the User for any incidental, */
|
||||
/* consequential, indirect, or punitive damage (including but not limited */
|
||||
/* to lost profits) regardless of whether such liability is based on breach */
|
||||
/* of contract, tort, strict liability, breach of warranties, failure of */
|
||||
/* essential purpose or otherwise and even if advised of the possibility of */
|
||||
/* such damages. Renesas shall not be liable for any services or products */
|
||||
/* provided by third party vendors, developers or consultants identified or */
|
||||
/* referred to the User by Renesas in connection with the Product(s) and/or */
|
||||
/* the Application. */
|
||||
/* */
|
||||
/*============================================================================*/
|
||||
/* Environment: */
|
||||
/* Devices: V4H */
|
||||
/*============================================================================*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Revision Control History **
|
||||
*******************************************************************************/
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Generation Tool Version **
|
||||
*******************************************************************************/
|
||||
/* */
|
||||
/* TOOL VERSION: WdgRCAR.dll version: 1.0.5, MCALConfGen.exe version: 1.2.3 */
|
||||
/* */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Input File **
|
||||
*******************************************************************************/
|
||||
/*
|
||||
* INPUT FILE: C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\wdg\sample_application\V4H\19_11\config\App_WDG_V4H_Sample.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\MCU_WDG_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\common\generic\stubs\19_11\Dem\xml\Dem_Wdg.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\wdg\generator\V4H\R1911_WDG_V4H_BSWMDT.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\config\V4H\19_11\GPT_WDG_V4H.arxml
|
||||
* C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\V4H\common_family\generator\arm\Sample_Application_V4H.trxml
|
||||
* GENERATED ON: 19 6 2026 - 05:11:19
|
||||
*/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Instance Index **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "Wdg.h"
|
||||
|
||||
#include "Wdg_Ram.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** MISRA C Rule Violations **
|
||||
*******************************************************************************/
|
||||
/******************************************************************************/
|
||||
/* 1. MISRA C RULE VIOLATION: */
|
||||
/* Message : (4:5087) Use of #include directive after code fragment. */
|
||||
/* Rule : MISRA C:2012 Rule-20.1 */
|
||||
/* Justification : This is done as per Memory Requirement, (MEMMAP003 - */
|
||||
/* Specification of Memory Mapping). */
|
||||
/* Verification : However, part of the code is verified manually */
|
||||
/* and it is not having any impact. */
|
||||
/* Reference : Look for START Msg(4:5087)-1 and */
|
||||
/* END Msg(4:5087)-1 tags in the code. */
|
||||
/******************************************************************************/
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Information **
|
||||
*******************************************************************************/
|
||||
/* AUTOSAR release version information. */
|
||||
#define WDG_PBCFG_C_AR_RELEASE_MAJOR_VERSION 4U
|
||||
|
||||
#define WDG_PBCFG_C_AR_RELEASE_MINOR_VERSION 5U
|
||||
|
||||
#define WDG_PBCFG_C_AR_RELEASE_REVISION_VERSION 0U
|
||||
|
||||
/* File version information. */
|
||||
#define WDG_PBCFG_C_SW_MAJOR_VERSION 1U
|
||||
|
||||
#define WDG_PBCFG_C_SW_MINOR_VERSION 4U
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Version Check **
|
||||
*******************************************************************************/
|
||||
|
||||
#if (WDG_PBTYPES_AR_RELEASE_MAJOR_VERSION != \
|
||||
WDG_PBCFG_C_AR_RELEASE_MAJOR_VERSION)
|
||||
#error "Wdg_PBcfg.c : Mismatch in Release Major Version"
|
||||
#endif
|
||||
#if (WDG_PBTYPES_AR_RELEASE_MINOR_VERSION != \
|
||||
WDG_PBCFG_C_AR_RELEASE_MINOR_VERSION)
|
||||
#error "Wdg_PBcfg.c : Mismatch in Release Minor Version"
|
||||
#endif
|
||||
#if (WDG_PBTYPES_AR_RELEASE_REVISION_VERSION != \
|
||||
WDG_PBCFG_C_AR_RELEASE_REVISION_VERSION)
|
||||
#error "Wdg_PBcfg.c : Mismatch in Release Revision Version"
|
||||
#endif
|
||||
#if (WDG_PBTYPES_SW_MAJOR_VERSION != \
|
||||
WDG_PBCFG_C_SW_MAJOR_VERSION)
|
||||
#error "Wdg_PBcfg.c : Mismatch in Software Major Version"
|
||||
#endif
|
||||
#if (WDG_PBTYPES_SW_MINOR_VERSION != \
|
||||
WDG_PBCFG_C_SW_MINOR_VERSION)
|
||||
#error "Wdg_PBcfg.c : Mismatch in Software Minor Version"
|
||||
#endif
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data Types **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Data **
|
||||
*******************************************************************************/
|
||||
|
||||
#define WDG_START_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
#include "Wdg_MemMap.h"
|
||||
|
||||
|
||||
/* Structure for Watchdog Unit init configuration */
|
||||
CONST(Wdg_ConfigType, WDG_CONFIG_DATA) Wdg_GstConfiguration =
|
||||
{
|
||||
/* ulStartOfDbToc */
|
||||
0x0ED98120UL,
|
||||
/* ulInitTimerCountValue */
|
||||
0x00000001UL,
|
||||
/* ulSlowTimeValue */
|
||||
0x001F3832UL,
|
||||
/* ulFastTimeValue */
|
||||
0x000007CFUL,
|
||||
/* ulDefaultTimeValue */
|
||||
0x001F3832UL,
|
||||
/* ucWdtctSlowValue */
|
||||
0x06U,
|
||||
/* ucWdtctFastValue */
|
||||
0x00U,
|
||||
/* ucWdtctDefaultValue */
|
||||
0x06U,
|
||||
/* ddWdtctDefaultMode */
|
||||
WDGIF_SLOW_MODE,
|
||||
/* pHwDepFunc */
|
||||
&Wdg_RWDTFunc
|
||||
};
|
||||
#define WDG_STOP_SEC_DBTOC_DATA_UNSPECIFIED
|
||||
/* MISRA Violation: START Msg(4:5087)-1 */
|
||||
#include "Wdg_MemMap.h"
|
||||
/* END Msg(4:5087)-1 */
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Function Definitions **
|
||||
*******************************************************************************/
|
||||
|
||||
/*******************************************************************************
|
||||
** End of File **
|
||||
*******************************************************************************/
|
||||
|
||||
@@ -13,6 +13,59 @@
|
||||
#ifndef APP_WOODY_COMMON_SAMPLE_H
|
||||
#define APP_WOODY_COMMON_SAMPLE_H
|
||||
|
||||
/*******************************************************************************
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "Mcu.h"
|
||||
#include "Mcu_PBTypes.h"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
** Global Symbols **
|
||||
*******************************************************************************/
|
||||
|
||||
#define Mcu_ModuleConfiguration \
|
||||
Mcu_Config
|
||||
|
||||
#define MCU_SYS_RAM_SETTING \
|
||||
McuRamSectorSettingConf_McuRamSectorSettingConf
|
||||
|
||||
#define MCU_RT_VRAM0_SETTING \
|
||||
McuRamSectorSettingConf_McuRamSectorSettingConf_001
|
||||
|
||||
#define MCU_RT_VRAM1_SETTING \
|
||||
McuRamSectorSettingConf_McuRamSectorSettingConf_002
|
||||
|
||||
#define SRAM_RAMTEST_ADDRESS 0xE6300000
|
||||
#define SRAM_RAMTEST_VALUE 0x00
|
||||
#define SRAM_RAMTEST_LENGTH 0x03F8
|
||||
|
||||
#define VRAM0_RAMTEST_ADDRESS 0xEB200000
|
||||
#define VRAM0_RAMTEST_VALUE 0x01
|
||||
#define VRAM0_RAMTEST_LENGTH 0x04
|
||||
|
||||
#define VRAM1_RAMTEST_ADDRESS 0xE2300000
|
||||
#define VRAM1_RAMTEST_VALUE 0x02
|
||||
#define VRAM1_RAMTEST_LENGTH 0x04
|
||||
|
||||
#define Mcu_McuClockSettingConfig \
|
||||
McuConf_McuClockSettingConfig_McuClockSettingConfig
|
||||
|
||||
#define MCU_MODE_SETTING_0 \
|
||||
McuConf_McuModeSettingConf_McuModeSettingConf
|
||||
|
||||
#define TMU_CHANNEL0_INT_ID (uint32)(321) /* INTID: 0x0141 : 289 + 32 */
|
||||
/* Define the timer counter value to count the target time in us unit */
|
||||
#define MCU_TARGET_TIME_MICROSECONDS(TARGET) \
|
||||
(uint32)((TARGET / 1000000) * (16666666 / 4))
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* APP_WOODY_COMMON_SAMPLE_H */
|
||||
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
** Include Section **
|
||||
*******************************************************************************/
|
||||
#include "App_Woody_Common_Sample.h"
|
||||
#include "Mcu.h"
|
||||
#include "Mcu_PBTypes.h"
|
||||
#include "Port.h"
|
||||
#include "scif.h"
|
||||
#include "log.h"
|
||||
|
||||
@@ -12,17 +9,17 @@ int main(void)
|
||||
{
|
||||
//uint32 i = 0;
|
||||
|
||||
// Mcu_Init(Mcu_ModuleConfiguration);
|
||||
Mcu_Init(Mcu_ModuleConfiguration);
|
||||
|
||||
// /* This API will initialize all the registers to the initial values */
|
||||
// Port_Init(PortConfigSet);
|
||||
Port_Init(PortConfigSet);
|
||||
|
||||
// /* Initialize SCIF module */
|
||||
// Scif_Init();
|
||||
Scif_Init();
|
||||
// /* Start program */
|
||||
|
||||
|
||||
// Console_Print("Woody PROGRAM START\r\n");
|
||||
Console_Print("\r\nWoody PROGRAM START\r\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,178 @@
|
||||
; --------------------------------------------------------------------------------
|
||||
; @Title: Multicore trace script for R8A779G-CR52 on WhiteHawk (RAM, SMP, ETF)
|
||||
; @Description:
|
||||
; Loads the sieve demo application into RAM and sets up a multicore debug demo.
|
||||
; The program flow is traced using the Offchip-Trace. Pinmuxing and Clock
|
||||
; setup is handled in the script.
|
||||
; Use this script to test the Offchip-Trace.
|
||||
; Prerequisites:
|
||||
; * Connect Debug Cable/Combiprobe to CN1 (Main JTAG)
|
||||
; * Connect Power Trace Serial or Serial Preprocessor via CN7 (OCuLink).
|
||||
; * Set boot core to Cortex-R52 and main JTAG to CoreSight. This can either
|
||||
; be done via a switch board or by programming the CPLD.
|
||||
;
|
||||
; Switch MD (Switch SW1 Pin[1:8]) settings. Mode switch board is connected to
|
||||
; CN9 on the WhiteHawk-CPU board:
|
||||
; * Cortex-R52 boot
|
||||
; MD6 = 1 (SW1[1] = OFF)
|
||||
; MD7 = 1 (SW1[2] = OFF)
|
||||
; * SCIF download mode (not boot code is executed)
|
||||
; (SW1[3] = OFF)
|
||||
; MD8 = 1 (SW1[4] = OFF)
|
||||
; MD4 = 1 (SW1[5] = OFF)
|
||||
; MD3 = 1 (SW1[6] = OFF)
|
||||
; MD2 = 1 (SW1[7] = OFF)
|
||||
; MD1 = 1 (SW1[8] = OFF)
|
||||
; * Normal boot:
|
||||
; MD5 = 1 (SW2[1] = OFF)
|
||||
; MD35 = 0 (SW2[2] = ON)
|
||||
; * Main JTAG = CoreSight, Sub JTAG = Normal Function
|
||||
; MDT0 = 0 (SW2[3] = ON)
|
||||
; MD21 = 1 (SW2[4] = OFF)
|
||||
; MD20 = 0 (SW2[5] = ON)
|
||||
; MD11 = 0 (SW2[6] = ON)
|
||||
; MD10 = 0 (SW2[7] = ON)
|
||||
; (SW2[8] = OFF)
|
||||
;
|
||||
; @Keywords: ARM, Cortex-R52, SMP, ETM, HSSTP
|
||||
; @Props: Released
|
||||
; @Author: BES
|
||||
; @Board: WhiteHawk
|
||||
; @Chip: R8A779G
|
||||
; @Copyright: (C) 1989-2024 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
||||
; --------------------------------------------------------------------------------
|
||||
; $Id: r_carv4h-cr52_sieve_smp_offchip_trace_sram.cmm 23806 2024-11-26 16:09:25Z bschroefel $
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Check prerequisites
|
||||
; Reviewed by FIZ, 2024-10-09
|
||||
|
||||
|
||||
IF VERSION.BUILD.BASE()<145267.
|
||||
(
|
||||
PRINT %ERROR "Please use more recent Software! Contact support@lauterbach.com."
|
||||
ENDDO
|
||||
)
|
||||
|
||||
;WinCLEAR
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Initialize and start the debugger
|
||||
;RESet
|
||||
;SYStem.RESet
|
||||
SYStem.CPU R8A779G-CR52
|
||||
SYStem.MemAccess DAP
|
||||
SYStem.JtagClock 10MHz
|
||||
SYStem.Option.DUALPORT ON
|
||||
SYStem.Mode.NoDebug
|
||||
SYStem.Mode.Attach
|
||||
|
||||
;CORE.ASSIGN 1.
|
||||
Trace.DISable
|
||||
ETM.OFF
|
||||
;SYStem.Up
|
||||
|
||||
Break
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Kick secondary cores
|
||||
;DO ~~~~/../scripts/kick_cores.cmm "R52"
|
||||
|
||||
;SYStem.Mode.Down
|
||||
;CORE.ASSIGN 1. 2. 3.
|
||||
;SYStem.Mode.Attach
|
||||
|
||||
;GOSUB EnableATCM "0xE4000000" // CR52_0 (Hypervisor MPU)
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; DRCR.RBE=0 (RPC Read cache = OFF) for flash region access
|
||||
;Data.Set AD:0xEE20000C %LE %Long 0yXXXXxxxxXXXXxxxxXXXXxxx0XXXXxxxx
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Load demo program (uses internal RAM only)
|
||||
; Data.LOAD.Elf "~~~~/sieve_ram_aarch32_arm_v8r_le.elf"
|
||||
Data.LOAD.Elf C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\woody\sample_application\V4H\obj\arm\App_WOODY_V4H_Sample.elf /nocode
|
||||
|
||||
;CORE 1
|
||||
;GOSUB EnableATCM "0xE4400000" // CR52_1 (Hypervisor MPU)
|
||||
;Data.Assemble R:0xE4400000 NOP NOP NOP NOP B $-0x10
|
||||
;Register.Init
|
||||
;Register.Set PC 0xE4400000
|
||||
;Register.Set M 0x1A // Hypervisor mode
|
||||
;Register.Set T 0
|
||||
|
||||
;CORE 2
|
||||
;GOSUB EnableATCM "0xE4800000" // CR52_2 (Hypervisor MPU)
|
||||
;Data.Assemble R:0xE4800000 NOP NOP NOP NOP B $-0x10
|
||||
;Register.Init
|
||||
;Register.Set PC 0xE4800000
|
||||
;Register.Set M 0x1A // Hypervisor mode
|
||||
;Register.Set T 0
|
||||
|
||||
;CORE 0
|
||||
Core.select 2
|
||||
register.set pc intvect_CoreExceptions
|
||||
Core.select 0
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Initialize HSSTP trace vie PCIE0 (2 lanes)
|
||||
;IF Analyzer()
|
||||
;(
|
||||
; Trace.Method Analyzer
|
||||
; ETM.Trace ON
|
||||
; ETM.ON
|
||||
|
||||
; DO ~~~~/../scripts/init_hsstp.cmm "4."
|
||||
|
||||
; IF ID.SERialPort1()==0x200C
|
||||
; (
|
||||
; The OCuLink adapter can be used for HSSTP trace, too.
|
||||
; However, it requires lane polarity inversion.
|
||||
; PRIVATE &lane_mask
|
||||
; &lane_mask="0x"+Format.Hex(0,(1.<<TRACEPORT.LaneCount(1.))-1.)
|
||||
; TRACEPORT.LanePolarity &lane_mask
|
||||
; )
|
||||
|
||||
; Trace.Init
|
||||
;)
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Start program execution
|
||||
;Go.direct main
|
||||
;WAIT !STATE.RUN()
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
; Open some windows
|
||||
;WinCLEAR
|
||||
Mode.Hll
|
||||
;WinPOS 0. 0. 116. 26.
|
||||
;List.auto
|
||||
;WinPOS 120. 0. 100. 8.
|
||||
;Frame.view
|
||||
;WinPOS 120. 14.
|
||||
;Var.Watch
|
||||
;Var.AddWatch %SpotLight ast flags
|
||||
;WinPOS 120. 25.
|
||||
;Trace.List
|
||||
;WinPOS 0. 32.
|
||||
;Var.DRAW %DEFault sinewave
|
||||
ENDDO
|
||||
|
||||
; --------------------------------------------------------------------------------
|
||||
EnableATCM:
|
||||
(
|
||||
PRIVATE &addr
|
||||
PARAMETERS &addr
|
||||
|
||||
; Enable ACTM
|
||||
Data.Set C15:0x19 %Long (&addr&0xFFFFF000)|0x1B
|
||||
; Enable MPU at EL2, region 0 only
|
||||
;Data.Set C15:0x4001 %Long 0yXXXXxxxxXXXXxxxxXXXXxxxxXXXXxxx1
|
||||
;Data.Set C15:0x4116 %Long 0x1
|
||||
;Data.Set C15:0x4086 %Long (&addr&0xFFFFF000)
|
||||
;Data.Set C15:0x4186 %Long (&addr&0xFFFFF000)+0x7FC1
|
||||
|
||||
; Init values for ATCM, 64-bit access required by TRM
|
||||
Data.Set (&addr&0xFFFFF000)++0x7FFF %Quad 0x0
|
||||
)
|
||||
RETURN
|
||||
@@ -0,0 +1,43 @@
|
||||
// T32 Thu Jun 12 09:29:25 2025
|
||||
|
||||
B::
|
||||
|
||||
TOOLBAR ON
|
||||
STATUSBAR ON
|
||||
FramePOS -1.0,22.786,,,Maximized
|
||||
WinPAGE.RESet
|
||||
|
||||
WinPAGE.Create P000
|
||||
WinCLEAR
|
||||
|
||||
WinPOS 0.125 30.929 114. 13. 16. 1. W005
|
||||
WinTABS 10. 10. 25.
|
||||
l
|
||||
|
||||
// sram debug setting
|
||||
WinPOS 0.0 0.0 114. 25. 14. 0. W000
|
||||
PEDIT "C:\Work\Src\Gen4_R-Car_Trace32\0_Doc\scripts\V4H\EVB\Lauterbach\Woody_r_carv4h-cr52_sieve_smp_offchip_trace_sram.cmm"
|
||||
|
||||
WinPOS 0.375 50.0 114. 15. 0. 0. W001
|
||||
Var.Watch
|
||||
|
||||
WinPOS 119.25 42.714 64. 16. 0. 0. W006
|
||||
SYStem.state
|
||||
|
||||
WinPOS 118.88 22.071 105. 9. 5. 0. W004
|
||||
Frame /Locals /Caller
|
||||
|
||||
WinPOS 118.88 37.286 105. 13. 0. 1. W003
|
||||
WinTABS 53. 31.
|
||||
sYmbol.Browse.sYmbol
|
||||
|
||||
WinPOS 118.88 10.071 105. 6. 26. 1. W002
|
||||
WinTABS 13. 0. 0. 0. 0. 0. 0. 0. 0. 51.
|
||||
Break.List
|
||||
|
||||
WinPOS 118.88 0.0 105. 4. 14. 0. W007
|
||||
PEDIT C:\Work\Src\Gen4_R-Car_Trace32\0_Doc\scripts\V4H\EVB\Woody_HW_Reset.cmm
|
||||
|
||||
WinPAGE.select P000
|
||||
|
||||
ENDDO
|
||||
@@ -0,0 +1,2 @@
|
||||
; ECU RESET
|
||||
PER.Set.simple ASD:0xE6160018 %Long 0x5AA58000
|
||||
@@ -0,0 +1,51 @@
|
||||
; --------------------------------------------------------------------------------
|
||||
; @Title: Cause warm reset to stop at reset vector on R8A779G-CR52 on WhiteHawk
|
||||
; @Description:
|
||||
; Causes a warm reset via EDPRCR.CWRR (core debug register). Core is caught at
|
||||
; reset vector. The Cortex-R52 is not required to be the boot core.
|
||||
;
|
||||
; Switch MD (Switch SW2 Pin[1:8]) settings. Mode switch board is connected to
|
||||
; CN9 on the WhiteHawk-CPU board:
|
||||
; * Normal boot:
|
||||
; MD5 = 1 (SW2[1] = OFF)
|
||||
; MD35 = 0 (SW2[2] = ON)
|
||||
; * Main JTAG = CoreSight, Sub JTAG = Normal Function
|
||||
; MDT0 = 0 (SW2[3] = ON)
|
||||
; MD21 = 1 (SW2[4] = OFF)
|
||||
; MD20 = 0 (SW2[5] = ON)
|
||||
; MD11 = 0 (SW2[6] = ON)
|
||||
; MD10 = 0 (SW2[7] = ON)
|
||||
; (SW2[8] = OFF)
|
||||
;
|
||||
; @Keywords: ARM, Cortex-R52
|
||||
; @Props: Released
|
||||
; @Author: BES
|
||||
; @Board: WhiteHawk
|
||||
; @Chip: R8A779G
|
||||
; @Copyright: (C) 1989-2024 Lauterbach GmbH, licensed for use with TRACE32(R) only
|
||||
; --------------------------------------------------------------------------------
|
||||
; $Id: r_carv4h-cr52_warm_reset.cmm 23806 2024-11-26 16:09:25Z bschroefel $
|
||||
|
||||
SYStem.CPU R8A779G-CR52
|
||||
CORE.ASSIGN 1. ; Reset CR52_0
|
||||
; CORE.ASSIGN 2. ; Reset CR52_1
|
||||
; CORE.ASSIGN 1. 2. ; Reset both cores
|
||||
SYStem.Option.EnReset OFF
|
||||
SYStem.Mode.Prepare
|
||||
|
||||
; Reset first assigned core
|
||||
CORE 0.
|
||||
Data.Set e:(corebase()+0x024) %Long 0x2 ; Enable reset catch
|
||||
Data.Set e:(corebase()+0x310) %Long 0x3 ; Warm reset / core no power down request
|
||||
|
||||
; In case both Cortex-R52 cores should be reset, change the assignment to "CORE.ASSIGN 1. 2."
|
||||
; an enable the following three commands:
|
||||
; CORE 1. ; Work with second assigned core
|
||||
; Data.Set e:(corebase()+0x024) %Long 0x2 ; Enable reset catch
|
||||
; Data.Set e:(corebase()+0x310) %Long 0x3 ; Warm reset / core no power down request
|
||||
|
||||
CORE 0.
|
||||
|
||||
SYStem.Mode.Attach
|
||||
|
||||
ENDDO
|
||||
@@ -1,27 +0,0 @@
|
||||
// T32_1000138 Fri Sep 20 11:55:12 2019
|
||||
|
||||
SYStem.CPU R8A779G-CR52
|
||||
CORE.ASSIGN 1. ; Reset both cores
|
||||
CORE 0.
|
||||
|
||||
SYStem.Option IMASKASM ON
|
||||
SYStem.Option IMASKHLL ON
|
||||
SYStem.Option DUALPORT ON
|
||||
SYStem.MemAccess StopAndGo
|
||||
|
||||
SYStem.JtagClock 10.MHz
|
||||
|
||||
SYStem.Mode.Attach
|
||||
|
||||
break
|
||||
|
||||
|
||||
// 01. Download ELF File
|
||||
Data.LOAD.Elf C:\Work\Src\Gen4_R-Car_MCAL\2_Trunk\V4H\MCAL-v4h_19.4.0.D_release\rel\modules\port\sample_application\V4H\obj\arm\App_PORT_V4H_Sample.elf
|
||||
|
||||
// 02. Warm Reset
|
||||
CD.DO C:\Work\Src\Gen4_R-Car_Trace32\2_Trunk\demo\arm\hardware\rcar_v4h\r_carv4h-cr52\r_carv4h-cr52_warm_reset.cmm
|
||||
|
||||
Go.direct main
|
||||
|
||||
ENDDO
|
||||
Reference in New Issue
Block a user