107 #define MCU_VARIANT_POST_BUILD (STD_ON) 113 #define MCU_CFG_ID (0x1U) 125 #define MCU_CFG_MAJOR_VERSION (9U) 127 #define MCU_CFG_MINOR_VERSION (0U) 129 #define MCU_CFG_PATCH_VERSION (0U) 141 #define MCU_DEV_ERROR_DETECT (STD_ON) 143 #define MCU_GET_RAM_STATE_API (STD_OFF) 145 #define MCU_INIT_CLOCK_API (STD_ON) 147 #define MCU_PERFORM_RESET_API (STD_ON) 149 #define MCU_GET_VERSION_INFO_API (STD_ON) 151 #define MCU_INIT_RAM_API (STD_OFF) 153 #define MCU_NO_PLL (STD_OFF) 155 #define MCU_REGISTER_READBACK_API (STD_OFF) 164 #define DemConf_DemEventParameter_MCU_DEM_NO_EVENT (0xFFFFU) 165 #define MCU_DEM_NO_EVENT DemConf_DemEventParameter_MCU_DEM_NO_EVENT 169 #ifndef MCU_E_CLOCK_FAILURE 171 #define MCU_E_CLOCK_FAILURE (MCU_DEM_NO_EVENT) 175 #define MCU_PERFORM_RESET_MASK ((uint32) 0x00060000U) 176 #define MCU_PERFORM_RESET_CLEAR_MASK ((uint32) 0xFFFFFFFFU) 177 #define MCU_RST_SRC_STAT_CLEAR ((uint32) 0x190B0BU) 178 #define SW_MCU_WARM_RST ((uint32) 0x1U) 179 #define SW_MAIN_WARM_RST ((uint32) 0x2U) 180 #define SW_MAIN_POR ((uint32) 0x8U) 181 #define MCU_RESETZ ((uint32) 0x100U) 182 #define WARM_OUT_RST ((uint32) 0x10000U) 183 #define COLD_OUT_RST ((uint32) 0x80000U) 184 #define DEBUG_RST_OCCURED ((uint32) 0x100000U) 186 #define rstaddr ((LLD_wkup_ctrl_mmr_cfg0Regs*)0x43000000U) 189 #define MCU_ERRORRST_MASK ((Mcu_RawResetType)0xFFFF0000U) 191 #define MCU_UTILS_ARRAYSIZE(array) ((sizeof (array) / \ 192 sizeof ((array)[0]))) 194 #define MCU_RESET_STATUS_NUMBER ((uint8)0x6) 196 #define ARRAYSIZE(array) ((sizeof (array) / \ 197 sizeof ((array)[0]))) 214 #define McuConf_McuModeSettingConf_McuModeSettingConf_0 (0U) 223 #define McuConf_McuClockSettingConfig_MCU_MCAN0 (0U) 224 #define McuConf_McuClockSettingConfig_MCU_MCAN1 (1U) 225 #define McuConf_McuClockSettingConfig_MAIN_RTI_0 (2U) 504 (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:402
Definition: Mcu_Cfg.h:312
const Mcu_ResetInfo Mcu_ResetInfoTbl
Mcu_ClkModuleIdType
Clock source config modules id enum.
Definition: Mcu_Cfg.h:301
Definition: Mcu_Cfg.h:307
Definition: Mcu_Cfg.h:461
Definition: Mcu_Cfg.h:309
Definition: Mcu_Cfg.h:357
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:245
Definition: Mcu_Cfg.h:506
Definition: Mcu_Cfg.h:349
Definition: Mcu_Cfg.h:335
Definition: Mcu_Cfg.h:391
Mcu_ModuleName
Definition: Mcu_Cfg.h:270
Mcu_PllClkDivType Mcu_PllClk1
Definition: Mcu_Cfg.h:448
Definition: Mcu_Cfg.h:265
Definition: Mcu_Cfg.h:250
Definition: Mcu_Cfg.h:263
Definition: Mcu_Cfg.h:288
Definition: Mcu_Cfg.h:364
Std_ReturnType(* Mcu_CBKFunctionPtrType)(uint32 moduleId, uint32 clkId, uint64 ParentId)
Pointer to Callback function.
Definition: Mcu_Cfg.h:504
Definition: Mcu_Cfg.h:371
Definition: Mcu_Cfg.h:346
MCU PLL CONFIG structure.
Definition: Mcu_Cfg.h:446
Definition: Mcu_Cfg.h:276
uint8 Mcu_RamDefaultValue
Definition: Mcu_Cfg.h:473
Definition: Mcu_Cfg.h:343
Definition: Mcu_Cfg.h:410
Definition: Mcu_Cfg.h:393
Definition: Mcu_Cfg.h:377
uint16 sdDiv
Definition: Mcu_Cfg.h:435
Definition: Mcu_Cfg.h:388
Definition: Mcu_Cfg.h:359
Definition: Mcu_Cfg.h:345
Definition: Mcu_Cfg.h:329
Definition: Mcu_Cfg.h:311
Mcu_RamStateType
Enumeration of ranstate queried by Mcu_GetRamState()
Definition: Mcu_Cfg.h:458
Definition: Mcu_Cfg.h:389
uint64 MCU_PLL_HSDIV3
Definition: Mcu_Cfg.h:440
Definition: Mcu_Cfg.h:341
uint64 MCU_PLL_HSDIV1
Definition: Mcu_Cfg.h:438
const Mcu_ResetStatusMap Mcu_ResetStatusMapTbl[MCU_RESET_STATUS_NUMBER]
Definition: Mcu_Cfg.h:340
Definition: Mcu_Cfg.h:376
Definition: Mcu_Cfg.h:404
Definition: Mcu_Cfg.h:380
Mcu_PllClkDivType Mcu_PllClk3
Definition: Mcu_Cfg.h:450
Definition: Mcu_Cfg.h:286
Definition: Mcu_Cfg.h:313
Definition: Mcu_Cfg.h:409
Definition: Mcu_Cfg.h:344
Mcu_DomainType
Definition: Mcu_Cfg.h:259
Definition: Mcu_Cfg.h:383
Definition: Mcu_Cfg.h:382
Definition: Mcu_Cfg.h:358
uint16 M2
Definition: Mcu_Cfg.h:433
Definition: Mcu_Cfg.h:363
Definition: Mcu_Cfg.h:362
Definition: Mcu_Cfg.h:261
Definition: Mcu_Cfg.h:423
Mcu_PllSourceIdType
Type for PLL source selection.
Definition: Mcu_Cfg.h:488
const Mcu_ResetStatusMap * resetMap
Definition: Mcu_Cfg.h:516
Definition: Mcu_Cfg.h:460
Definition: Mcu_Cfg.h:330
Definition: Mcu_Cfg.h:339
Definition: Mcu_Cfg.h:338
Definition: Mcu_Cfg.h:318
Definition: Mcu_Cfg.h:513
Definition: Mcu_Cfg.h:369
uint32 rawresetval
Definition: Mcu_Cfg.h:508
Mcu_ResetType resetReason
Definition: Mcu_Cfg.h:509
uint32 Mcu_RamSectionBytes
Definition: Mcu_Cfg.h:475
uint8 numFields
Definition: Mcu_Cfg.h:515
Definition: Mcu_Cfg.h:350
Definition: Mcu_Cfg.h:390
Definition: Mcu_Cfg.h:337
uint64 MCU_PLL_HSDIV0
Definition: Mcu_Cfg.h:437
Definition: Mcu_Cfg.h:252
Definition: Mcu_Cfg.h:322
Definition: Mcu_Cfg.h:317
Definition: Mcu_Cfg.h:274
Definition: Mcu_Cfg.h:326
Structure for enumerating the clock outputs of HSDIVIDER.
Definition: Mcu_Cfg.h:430
Definition: Mcu_Cfg.h:342
Definition: Mcu_Cfg.h:253
Definition: Mcu_Cfg.h:254
Definition: Mcu_Cfg.h:406
Definition: Mcu_Cfg.h:367
Definition: Mcu_Cfg.h:251
Definition: Mcu_Cfg.h:323
Definition: Mcu_Cfg.h:374
Definition: Mcu_Cfg.h:303
Definition: Mcu_Cfg.h:351
Definition: Mcu_Cfg.h:314
const struct Mcu_ConfigType_s McuModuleConfiguration_0
MCU Configuration struct declaration.
Definition: Mcu_Cfg.h:395
Definition: Mcu_Cfg.h:332
Definition: Mcu_Cfg.h:366
Definition: Mcu_Cfg.h:305
uint16 N
Definition: Mcu_Cfg.h:432
Definition: Mcu_Cfg.h:348
Definition: Mcu_Cfg.h:361
Definition: Mcu_Cfg.h:491
Definition: Mcu_Cfg.h:327
Definition: Mcu_Cfg.h:248
Definition: Mcu_Cfg.h:308
Definition: Mcu_Cfg.h:316
Definition: Mcu_Cfg.h:365
Definition: Mcu_Cfg.h:392
Definition: Mcu_Cfg.h:282
Definition: Mcu_Cfg.h:319
Definition: Mcu_Cfg.h:310
Definition: Mcu_Cfg.h:375
Definition: Mcu_Cfg.h:387
Definition: Mcu_Cfg.h:354
Definition: Mcu_Cfg.h:333
Definition: Mcu_Cfg.h:321
Definition: Mcu_Cfg.h:336
Definition: Mcu_Cfg.h:284
Definition: Mcu_Cfg.h:381
Definition: Mcu_Cfg.h:373
Definition: Mcu_Cfg.h:249
Definition: Mcu_Cfg.h:355
Definition: Mcu_Cfg.h:280
Definition: Mcu_Cfg.h:372
Definition: Mcu_Cfg.h:320
Definition: Mcu_Cfg.h:368
uint8 * Mcu_RamSectionBaseAddress
Definition: Mcu_Cfg.h:471
Definition: Mcu_Cfg.h:304
Definition: Mcu_Cfg.h:272
Definition: Mcu_Cfg.h:370
Definition: Mcu_Cfg.h:407
Definition: Mcu_Cfg.h:386
Definition: Mcu_Cfg.h:315
Definition: Mcu_Cfg.h:306
Definition: Mcu_Cfg.h:394
Definition: Mcu_Cfg.h:405
Definition: Mcu_Cfg.h:424
Definition: Mcu_Cfg.h:356
Structure for data pre-setting to be initialized.
Definition: Mcu_Cfg.h:469
Definition: Mcu_Cfg.h:353
Definition: Mcu_Cfg.h:328
Definition: Mcu_Cfg.h:408
Mcu_PllStatusType
This is a status value returned by the function Mcu_GetPllStatus() of the MCU module.
Definition: Mcu_Cfg.h:420
uint64 MCU_PLL_HSDIV2
Definition: Mcu_Cfg.h:439
Definition: Mcu_Cfg.h:379
Definition: Mcu_Cfg.h:490
uint16 FracM
Definition: Mcu_Cfg.h:434
Definition: Mcu_Cfg.h:325
Definition: Mcu_Cfg.h:347
Definition: Mcu_Cfg.h:378
Definition: Mcu_Cfg.h:352
#define MCU_RESET_STATUS_NUMBER
Definition: Mcu_Cfg.h:194
Definition: Mcu_Cfg.h:331
Definition: Mcu_Cfg.h:290
Definition: Mcu_Cfg.h:324
Definition: Mcu_Cfg.h:384
Definition: Mcu_Cfg.h:385
Definition: Mcu_Cfg.h:278
uint64 MCU_PLL_CLKOUT
Definition: Mcu_Cfg.h:436
Mcu_PllClkDivType Mcu_PllClk2
Definition: Mcu_Cfg.h:449
Definition: Mcu_Cfg.h:411
Definition: Mcu_Cfg.h:334
Definition: Mcu_Cfg.h:360
Definition: Mcu_Cfg.h:422