## /*****************************************MCU HW-SW MAP*****************************************/

Table 1: MCU SFR Usage per API
API Name | SFRs Used | Remarks
--- | --- | ---
Mcu_Init | SCU_RSTSTAT, SCU_RSTCON, SCU_RSTCON2, SCU_PMSWCR1, SCU_ARSTDIS , GTM SFRs done by Gtm_Init() , DMA_CLC, DMA_ERRINTR | -
Mcu_InitRamSection | - | No SFRs used
Mcu_InitClock | SMU_KEYS, SMU_CMD, SMU_AG3, SMU_AGCF3_0, SMU_AGCF3_1, SMU_AGCF3_2, SCU_TRAPCLR, SCU_CCUCON0, SCU_CCUCON1, SCU_OSCCON, SCU_PLLSTAT, SCU_PLLCON0, SCU_PLLCON1, SCU_PLLERAYCON0, SCU_CCUCON2, SCU_CCUCON5, SCU_CCUCON6, SCU_CCUCON7 , SCU_PLLERAYCON1, SCU_PLLERAYSTAT | -
Mcu_DistributePllClock | SMU_KEYS, SMU_CMD, SMU_AG3, SMU_AGCF3_0, SMU_AGCF3_1, SMU_AGCF3_2, SCU_PLLCON0, SCU_PLLCON1 | -
Mcu_GetPllStatus | SCU_PLLSTAT | -
Mcu_GetResetReason | - | No SFRs used
Mcu_GetResetRawValue | - | No SFRs used
Mcu_SetMode | SCU_PMSWCR1, SCU_PMCSR0, SCU_PMCSR1 | -
Mcu_PerformReset | SCU_SWRSTCON | -
Mcu_InitCheck | Refer SFRs used by Mcu_Init(), Mcu_InitClock(), Mcu_GetPllStatus() and Mcu_DistributePllClock() | -
Mcu_GetMode | SCU_PMCSR0, SCU_PMCSR1 | -
Mcu_ChkWkpStdby | SCU_PMSWSTAT | -
Mcu_ClrWkpStdby | SCU_PMSWSTATCLR | -
Gtm_Init | GTM_CLC, GTM_CMU_GCLK_NUM, GTM_CMU_GCLK_DEN, GTM_CMU_CLK_EN, GTM_CMU_CLK0_0_CTRL, GTM_CMU_CLK0_1_CTRL, GTM_CMU_CLK0_2_CTRL, GTM_CMU_CLK0_3_CTRL, GTM_CMU_CLK0_4_CTRL, GTM_CMU_CLK0_5_CTRL, GTM_CMU_CLK0_6_CTRL, GTM_CMU_CLK0_7_CTRL, GTM_CMU_ECLK0_NUM, GTM_CMU_ECLK1_NUM, GTM_CMU_ECLK2_NUM, GTM_CMU_ECLK0_DEN, GTM_CMU_ECLK1_DEN, GTM_CMU_ECLK2_DEN, GTM_CMU_FXCLK_CTRL, GTM_CTRL,GTM_IRQ_EN, GTM_IRQ_MODE, GTM_EIRQ_EN, SRC_GTMAEIIRQ | -

## /******************************************MCU MPU Settings******************************************/

Table 2: MCU SFR and Memory Range
Start Address | End Address | Remarks
--- | --- | ---
DMA_CLC | DMA_PRR0 | DMA Initialization done during MCU Initialization only
GTM_REV | GTM_MSCIN1_INLCON | GTM Initialization done during MCU Initialization only
SMU_CMD | SMU_AG4 | SMU alarm flags to be disabled during MCU clock initialization only
SCU_ID | SCU_TRAPDIS | SCU SFR usage by MCU driver
MCU_START_SEC_VAR_32BIT | MCU_STOP_SEC_VAR_32BIT | Mcu_kConfigPtr, Mcu_ResetStatusVal - 32 bit variables used by MCU
MCU_START_SEC_VAR_8BIT | MCU_STOP_SEC_VAR_8BIT | Mcu_ClockSetting- 8 bit variable used by MCU
MCU_START_SEC_CODE | MCU_STOP_SEC_CODE | MCU driver - Basic AUTOSAR functionality