109 #define MCU_VARIANT_POST_BUILD (STD_ON) 115 #define MCU_CFG_ID (0x1U) 127 #define MCU_CFG_MAJOR_VERSION (9U) 129 #define MCU_CFG_MINOR_VERSION (1U) 131 #define MCU_CFG_PATCH_VERSION (0U) 143 #define MCU_DEV_ERROR_DETECT (STD_ON) 145 #define MCU_GET_RAM_STATE_API (STD_OFF) 147 #define MCU_INIT_CLOCK_API (STD_ON) 149 #define MCU_PERFORM_RESET_API (STD_ON) 151 #define MCU_GET_VERSION_INFO_API (STD_ON) 153 #define MCU_INIT_RAM_API (STD_OFF) 155 #define MCU_NO_PLL (STD_OFF) 157 #define MCU_REGISTER_READBACK_API (STD_OFF) 166 #define DemConf_DemEventParameter_MCU_DEM_NO_EVENT (0xFFFFU) 167 #define MCU_DEM_NO_EVENT DemConf_DemEventParameter_MCU_DEM_NO_EVENT 170 #ifndef MCU_E_CLOCK_FAILURE 172 #define MCU_E_CLOCK_FAILURE (MCU_DEM_NO_EVENT) 176 #define MCU_PERFORM_RESET_MASK ((uint32) 0x00060000U) 177 #define MCU_PERFORM_RESET_CLEAR_MASK ((uint32) 0xFFFFFFFFU) 178 #define MCU_RST_SRC_STAT_CLEAR ((uint32) 0x190B0BU) 179 #define SW_MCU_WARM_RST ((uint32) 0x1U) 180 #define SW_MAIN_WARM_RST ((uint32) 0x2U) 181 #define SW_MAIN_POR ((uint32) 0x8U) 182 #define MCU_RESETZ ((uint32) 0x100U) 183 #define WARM_OUT_RST ((uint32) 0x10000U) 184 #define COLD_OUT_RST ((uint32) 0x80000U) 185 #define DEBUG_RST_OCCURED ((uint32) 0x100000U) 187 #define rstaddr ((LLD_wkup_ctrl_mmr_cfg0Regs*)0x43000000U) 190 #define MCU_ERRORRST_MASK ((Mcu_RawResetType)0xFFFF0000U) 192 #define MCU_UTILS_ARRAYSIZE(array) ((sizeof (array) / \ 193 sizeof ((array)[0]))) 195 #define MCU_RESET_STATUS_NUMBER ((uint8)0x6) 197 #define ARRAYSIZE(array) ((sizeof (array) / \ 198 sizeof ((array)[0]))) 215 #define McuConf_McuModeSettingConf_McuModeSettingConf_0 (0U) 224 #define McuConf_McuClockSettingConfig_MCU_MCAN0 (0U) 225 #define McuConf_McuClockSettingConfig_MCU_MCAN1 (1U) 226 #define McuConf_McuClockSettingConfig_MAIN_RTI_0 (2U) 234 #define McuConf_McuResetReasonConf_MCU_POWER_ON_RESET (0U) 235 #define McuConf_McuResetReasonConf_MCU_WATCHDOG_RESET (1U) 236 #define McuConf_McuResetReasonConf_MCU_SW_RESET (2U) 237 #define McuConf_McuResetReasonConf_MCU_RESET_UNDEFINED (3U) 516 (uint32 moduleId, uint32 clkId, uint64 ParentId);
Mcu_ClkSourceIdType
This is the type of the clock source in clock tree that is selectable for peripheral....
Definition: Mcu_Cfg.h:414
Definition: Mcu_Cfg.h:324
const Mcu_ResetInfo Mcu_ResetInfoTbl
Mcu_ClkModuleIdType
Clock source config modules id enum.
Definition: Mcu_Cfg.h:313
Definition: Mcu_Cfg.h:319
Definition: Mcu_Cfg.h:473
Definition: Mcu_Cfg.h:321
Definition: Mcu_Cfg.h:369
Mcu_ResetType
This is the type of the reset enumerator containing the subset of reset types. It is not required t...
Definition: Mcu_Cfg.h:257
Definition: Mcu_Cfg.h:518
Definition: Mcu_Cfg.h:361
Definition: Mcu_Cfg.h:347
Definition: Mcu_Cfg.h:403
Mcu_ModuleName
Definition: Mcu_Cfg.h:282
Mcu_PllClkDivType Mcu_PllClk1
Definition: Mcu_Cfg.h:460
Definition: Mcu_Cfg.h:277
Definition: Mcu_Cfg.h:262
Definition: Mcu_Cfg.h:275
Definition: Mcu_Cfg.h:300
Definition: Mcu_Cfg.h:376
Std_ReturnType(* Mcu_CBKFunctionPtrType)(uint32 moduleId, uint32 clkId, uint64 ParentId)
Pointer to Callback function.
Definition: Mcu_Cfg.h:516
Definition: Mcu_Cfg.h:383
Definition: Mcu_Cfg.h:358
MCU PLL CONFIG structure.
Definition: Mcu_Cfg.h:458
Definition: Mcu_Cfg.h:288
uint8 Mcu_RamDefaultValue
Definition: Mcu_Cfg.h:485
Definition: Mcu_Cfg.h:355
Definition: Mcu_Cfg.h:422
Definition: Mcu_Cfg.h:405
Definition: Mcu_Cfg.h:389
uint16 sdDiv
Definition: Mcu_Cfg.h:447
Definition: Mcu_Cfg.h:400
Definition: Mcu_Cfg.h:371
Definition: Mcu_Cfg.h:357
Definition: Mcu_Cfg.h:341
Definition: Mcu_Cfg.h:323
Mcu_RamStateType
Enumeration of ranstate queried by Mcu_GetRamState()
Definition: Mcu_Cfg.h:470
Definition: Mcu_Cfg.h:401
uint64 MCU_PLL_HSDIV3
Definition: Mcu_Cfg.h:452
Definition: Mcu_Cfg.h:353
uint64 MCU_PLL_HSDIV1
Definition: Mcu_Cfg.h:450
const Mcu_ResetStatusMap Mcu_ResetStatusMapTbl[MCU_RESET_STATUS_NUMBER]
Definition: Mcu_Cfg.h:352
Definition: Mcu_Cfg.h:388
Definition: Mcu_Cfg.h:416
Definition: Mcu_Cfg.h:392
Mcu_PllClkDivType Mcu_PllClk3
Definition: Mcu_Cfg.h:462
Definition: Mcu_Cfg.h:298
Definition: Mcu_Cfg.h:325
Definition: Mcu_Cfg.h:421
Definition: Mcu_Cfg.h:356
Mcu_DomainType
Definition: Mcu_Cfg.h:271
Definition: Mcu_Cfg.h:395
Definition: Mcu_Cfg.h:394
Definition: Mcu_Cfg.h:370
uint16 M2
Definition: Mcu_Cfg.h:445
Definition: Mcu_Cfg.h:375
Definition: Mcu_Cfg.h:374
Definition: Mcu_Cfg.h:273
Definition: Mcu_Cfg.h:435
Mcu_PllSourceIdType
Type for PLL source selection.
Definition: Mcu_Cfg.h:500
const Mcu_ResetStatusMap * resetMap
Definition: Mcu_Cfg.h:528
Definition: Mcu_Cfg.h:472
Definition: Mcu_Cfg.h:342
Definition: Mcu_Cfg.h:351
Definition: Mcu_Cfg.h:350
Definition: Mcu_Cfg.h:330
Definition: Mcu_Cfg.h:525
Definition: Mcu_Cfg.h:381
uint32 rawresetval
Definition: Mcu_Cfg.h:520
Mcu_ResetType resetReason
Definition: Mcu_Cfg.h:521
uint32 Mcu_RamSectionBytes
Definition: Mcu_Cfg.h:487
uint8 numFields
Definition: Mcu_Cfg.h:527
Definition: Mcu_Cfg.h:362
Definition: Mcu_Cfg.h:402
Definition: Mcu_Cfg.h:349
uint64 MCU_PLL_HSDIV0
Definition: Mcu_Cfg.h:449
Definition: Mcu_Cfg.h:264
Definition: Mcu_Cfg.h:334
Definition: Mcu_Cfg.h:329
Definition: Mcu_Cfg.h:286
Definition: Mcu_Cfg.h:338
Structure for enumerating the clock outputs of HSDIVIDER.
Definition: Mcu_Cfg.h:442
Definition: Mcu_Cfg.h:354
Definition: Mcu_Cfg.h:265
Definition: Mcu_Cfg.h:266
Definition: Mcu_Cfg.h:418
Definition: Mcu_Cfg.h:379
Definition: Mcu_Cfg.h:263
Definition: Mcu_Cfg.h:335
Definition: Mcu_Cfg.h:386
Definition: Mcu_Cfg.h:315
Definition: Mcu_Cfg.h:363
Definition: Mcu_Cfg.h:326
const struct Mcu_ConfigType_s McuModuleConfiguration_0
MCU Configuration struct declaration.
Definition: Mcu_Cfg.h:407
Definition: Mcu_Cfg.h:344
Definition: Mcu_Cfg.h:378
Definition: Mcu_Cfg.h:317
uint16 N
Definition: Mcu_Cfg.h:444
Definition: Mcu_Cfg.h:360
Definition: Mcu_Cfg.h:373
Definition: Mcu_Cfg.h:503
Definition: Mcu_Cfg.h:339
Definition: Mcu_Cfg.h:260
Definition: Mcu_Cfg.h:320
Definition: Mcu_Cfg.h:328
Definition: Mcu_Cfg.h:377
Definition: Mcu_Cfg.h:404
Definition: Mcu_Cfg.h:294
Definition: Mcu_Cfg.h:331
Definition: Mcu_Cfg.h:322
Definition: Mcu_Cfg.h:387
Definition: Mcu_Cfg.h:399
Definition: Mcu_Cfg.h:366
Definition: Mcu_Cfg.h:345
Definition: Mcu_Cfg.h:333
Definition: Mcu_Cfg.h:348
Definition: Mcu_Cfg.h:296
Definition: Mcu_Cfg.h:393
Definition: Mcu_Cfg.h:385
Definition: Mcu_Cfg.h:261
Definition: Mcu_Cfg.h:367
Definition: Mcu_Cfg.h:292
Definition: Mcu_Cfg.h:384
Definition: Mcu_Cfg.h:332
Definition: Mcu_Cfg.h:380
uint8 * Mcu_RamSectionBaseAddress
Definition: Mcu_Cfg.h:483
Definition: Mcu_Cfg.h:316
Definition: Mcu_Cfg.h:284
Definition: Mcu_Cfg.h:382
Definition: Mcu_Cfg.h:419
Definition: Mcu_Cfg.h:398
Definition: Mcu_Cfg.h:327
Definition: Mcu_Cfg.h:318
Definition: Mcu_Cfg.h:406
Definition: Mcu_Cfg.h:417
Definition: Mcu_Cfg.h:436
Definition: Mcu_Cfg.h:368
Structure for data pre-setting to be initialized.
Definition: Mcu_Cfg.h:481
Definition: Mcu_Cfg.h:365
Definition: Mcu_Cfg.h:340
Definition: Mcu_Cfg.h:420
Mcu_PllStatusType
This is a status value returned by the function Mcu_GetPllStatus() of the MCU module.
Definition: Mcu_Cfg.h:432
uint64 MCU_PLL_HSDIV2
Definition: Mcu_Cfg.h:451
Definition: Mcu_Cfg.h:391
Definition: Mcu_Cfg.h:502
uint16 FracM
Definition: Mcu_Cfg.h:446
Definition: Mcu_Cfg.h:337
Definition: Mcu_Cfg.h:359
Definition: Mcu_Cfg.h:390
Definition: Mcu_Cfg.h:364
#define MCU_RESET_STATUS_NUMBER
Definition: Mcu_Cfg.h:195
Definition: Mcu_Cfg.h:343
Definition: Mcu_Cfg.h:302
Definition: Mcu_Cfg.h:336
Definition: Mcu_Cfg.h:396
Definition: Mcu_Cfg.h:397
Definition: Mcu_Cfg.h:290
uint64 MCU_PLL_CLKOUT
Definition: Mcu_Cfg.h:448
Mcu_PllClkDivType Mcu_PllClk2
Definition: Mcu_Cfg.h:461
Definition: Mcu_Cfg.h:423
Definition: Mcu_Cfg.h:346
Definition: Mcu_Cfg.h:372
Definition: Mcu_Cfg.h:434