1 /* 2 * Copyright 2020-2023 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef CLOCK_IP_DERIVATIVE_001_H 8 #define CLOCK_IP_DERIVATIVE_001_H 9 10 /** 11 * @file Clock_Ip_Derivative_001.h 12 * @version 3.0.0 13 * 14 * @brief AUTOSAR Mcu - Post-Build(PB) configuration file code template. 15 * @details Code template for Post-Build(PB) configuration file generation. 16 * 17 * @addtogroup CLOCK_DRIVER Clock Ip Driver 18 * @{ 19 */ 20 21 #ifdef __cplusplus 22 extern "C"{ 23 #endif 24 25 26 /*================================================================================================== 27 * INCLUDE FILES 28 * 1) system and project includes 29 * 2) needed interfaces from external units 30 * 3) internal and external interfaces from this unit 31 ==================================================================================================*/ 32 33 /*================================================================================================== 34 SOURCE FILE VERSION INFORMATION 35 ==================================================================================================*/ 36 #define CLOCK_IP_DERIVATIVE_001_VENDOR_ID 43 37 #define CLOCK_IP_DERIVATIVE_001_AR_RELEASE_MAJOR_VERSION 4 38 #define CLOCK_IP_DERIVATIVE_001_AR_RELEASE_MINOR_VERSION 7 39 #define CLOCK_IP_DERIVATIVE_001_AR_RELEASE_REVISION_VERSION 0 40 #define CLOCK_IP_DERIVATIVE_001_SW_MAJOR_VERSION 3 41 #define CLOCK_IP_DERIVATIVE_001_SW_MINOR_VERSION 0 42 #define CLOCK_IP_DERIVATIVE_001_SW_PATCH_VERSION 0 43 44 /*================================================================================================== 45 * FILE VERSION CHECKS 46 ==================================================================================================*/ 47 48 /*================================================================================================== 49 * CONSTANTS 50 ==================================================================================================*/ 51 52 /*================================================================================================== 53 * DEFINES AND MACROS 54 ==================================================================================================*/ 55 56 57 #define CLOCK_IP_DIVIDER_CALLBACKS_COUNT 4U 58 #define CLOCK_IP_CGM_X_DE_DIV_STAT_WITHOUT_PHASE 1U 59 #define CLOCK_IP_PLL_PLL0DIV_DE_DIV_OUTPUT 2U 60 #define CLOCK_IP_PLL_PLLDV_ODIV2_OUTPUT 3U 61 62 #define CLOCK_IP_DIVIDERTRIGGER_CALLBACKS_COUNT 2U 63 #define CLOCK_IP_CGM_X_DIV_TRIG_CTRL_TCTL_HHEN_UPD_STAT 1U 64 65 #ifdef CLOCK_IP_HAS_SXOSC_CLK 66 #define CLOCK_IP_XOSC_CALLBACKS_COUNT 3U 67 #define CLOCK_IP_FXOSC_OSCON_BYP_EOCV_GM_SEL 1U 68 #define CLOCK_IP_SXOSC_OSCON_EOCV 2U 69 #else 70 #define CLOCK_IP_XOSC_CALLBACKS_COUNT 2U 71 #define CLOCK_IP_FXOSC_OSCON_BYP_EOCV_GM_SEL 1U 72 #endif 73 74 #define CLOCK_IP_IRCOSC_CALLBACKS_COUNT 4U 75 #define CLOCK_IP_FIRC_STDBY_ENABLE 1U 76 #define CLOCK_IP_SIRC_STDBY_ENABLE 2U 77 #define CLOCK_IP_FIRC_DIV_SEL_HSEb_CONFIG_REG_GPR 3U 78 79 #define CLOCK_IP_GATE_CALLBACKS_COUNT 2U 80 #define CLOCK_IP_MC_ME_PARTITION_COFB_ENABLE_REQUEST 1U 81 82 #define CLOCK_IP_FRACTIONAL_DIVIDER_CALLBACKS_COUNT 1U 83 84 #define CLOCK_IP_PLL_CALLBACKS_COUNT 2U 85 #define CLOCK_IP_PLL_RDIV_MFI_MFN_ODIV2_SDMEN_SSCGBYP_SPREADCTL_STEPNO_STEPSIZE 1U 86 87 #define CLOCK_IP_SELECTOR_CALLBACKS_COUNT 5U 88 #define CLOCK_IP_CGM_X_CSC_CSS_CLK_SW_SWIP 1U 89 #define CLOCK_IP_CGM_X_CSC_CSS_CLK_SW_RAMPDOWN_RAMPUP_SWIP 2U 90 #define CLOCK_IP_CGM_X_CSC_CSS_CS_GRIP 3U 91 #define CLOCK_IP_RTC_RTCC_CLKSELECT 4U 92 93 #define CLOCK_IP_PCFS_CALLBACKS_COUNT 2U 94 #define CLOCK_IP_CGM_X_PCFS_SDUR_DIVC_DIVE_DIVS 1U 95 96 #define CLOCK_IP_CMU_CALLBACKS_COUNT 2U 97 #define CLOCK_IP_CMU_FC_FCE_REF_CNT_LFREF_HFREF 1U 98 99 #define CLOCK_IP_CMU_INSTANCES_NO 4U 100 101 /*================================================================================================== 102 * ENUMS 103 ==================================================================================================*/ 104 105 /*================================================================================================== 106 * STRUCTURES AND OTHER TYPEDEFS 107 ==================================================================================================*/ 108 109 /*================================================================================================== 110 * GLOBAL VARIABLE DECLARATIONS 111 ==================================================================================================*/ 112 113 /*================================================================================================== 114 * FUNCTION PROTOTYPES 115 ==================================================================================================*/ 116 117 118 119 #ifdef __cplusplus 120 } 121 #endif 122 123 /** @} */ 124 #endif /* #ifndef CLOCK_IP_DERIVATIVE_001_H */ 125 126