IntCtrl_Ip_CfgDefines.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*==================================================================================================
  2. * Project : RTD AUTOSAR 4.4
  3. * Platform : CORTEXM
  4. * Peripheral :
  5. * Dependencies : none
  6. *
  7. * Autosar Version : 4.4.0
  8. * Autosar Revision : ASR_REL_4_4_REV_0000
  9. * Autosar Conf.Variant :
  10. * SW Version : 1.0.0
  11. * Build Version : S32K1_RTD_1_0_0_HF01_D2109_ASR_REL_4_4_REV_0000_20210907
  12. *
  13. * (c) Copyright 2020-2021 NXP Semiconductors
  14. * All Rights Reserved.
  15. *
  16. * NXP Confidential. This software is owned or controlled by NXP and may only be
  17. * used strictly in accordance with the applicable license terms. By expressly
  18. * accepting such terms or by downloading, installing, activating and/or otherwise
  19. * using the software, you are agreeing that you have read, and that you agree to
  20. * comply with and are bound by, such license terms. If you do not agree to be
  21. * bound by the applicable license terms, then you may not retain, install,
  22. * activate or otherwise use the software.
  23. ==================================================================================================*/
  24. #ifndef INTCTRL_IP_CFG_DEFINES_H_
  25. #define INTCTRL_IP_CFG_DEFINES_H_
  26. /*==================================================================================================
  27. INCLUDE FILES
  28. ==================================================================================================*/
  29. #include "StandardTypes.h"
  30. /*==================================================================================================
  31. * SOURCE FILE VERSION INFORMATION
  32. ==================================================================================================*/
  33. #define PLATFORM_INTCTRL_IP_CFG_DEFINES_VENDOR_ID 43
  34. #define PLATFORM_INTCTRL_IP_CFG_DEFINES_SW_MAJOR_VERSION 1
  35. #define PLATFORM_INTCTRL_IP_CFG_DEFINES_SW_MINOR_VERSION 0
  36. #define PLATFORM_INTCTRL_IP_CFG_DEFINES_SW_PATCH_VERSION 0
  37. #include "S32K146.h"
  38. /*==================================================================================================
  39. * LOCAL MACROS
  40. ==================================================================================================*/
  41. /* Development error detection */
  42. #define INT_CTRL_IP_DEV_ERROR_DETECT (STD_OFF)
  43. /* CPU to CPU interrupt (MSI) routing through MSCM */
  44. #define INT_CTRL_IP_MSI_AVAILABLE (STD_OFF)
  45. /* MSI target core count */
  46. #define INTCTRL_IP_MSI_CORE_CNT (0U)
  47. /* MSI vector min */
  48. #define INTCTRL_IP_DIRECTED_CPU_INT_MIN (0)
  49. /* MSI vector max */
  50. #define INTCTRL_IP_DIRECTED_CPU_INT_MAX (0)
  51. /* Core count */
  52. #define INTCTRL_IP_CORE_MASK (1U)
  53. /* System interrupt routing through MSCM */
  54. #define INT_CTRL_IP_MSCM_SYSTEM_INTERRUPT_ROUTER (STD_ON)
  55. /* INCT CTRL IP standalone APIs */
  56. #define INT_CTRL_IP_STANDALONE_APIS (STD_OFF)
  57. /* First implemented interrupt vector */
  58. #define INT_CTRL_IP_IRQ_MIN (DMA0_IRQn)
  59. /* Last implemented interrupt vector */
  60. #define INT_CTRL_IP_IRQ_MAX (FTM5_Ovf_Reload_IRQn)
  61. /* The interrupt counter value*/
  62. #define INT_CTRL_IP_IRQ_COUNT (102U)
  63. /* Arm Cortex M4 */
  64. #define INT_CTRL_IP_CORTEXM4 (STD_ON)
  65. #define INT_CTRL_IP_CORTEXR STD_OFF
  66. /* Number of priority bits implemented */
  67. #define INT_CTRL_IP_NVIC_PRIO_BITS (4U)
  68. /*Interrupt Router Shared Peripheral Routing Control Register*/
  69. #define INT_CTRL_IP_ROUTING_CONTROL_REGISTER (STD_OFF)
  70. /* This instruction invalidates the entire instruction cache or caches */
  71. #define INT_CTRL_IP_INVALIDATE_CACHE (STD_OFF)
  72. /**
  73. * @brief Support for User mode.
  74. * If this parameter has been configured to 'STD_ON', the Int Ctrl PLATFORM driver code can be executed from both supervisor and user mode.
  75. */
  76. #define INTCTRL_PLATFORM_ENABLE_USER_MODE_SUPPORT (STD_OFF)
  77. #endif /* INTCTRL_IP_CFG_DEFINES_H_ */