},\r
};\r
\r
-\r
-\r
-static core_info_t *Mcu_IdentifyCore(uint32 pvr)\r
-{\r
-\r
-\r
- return NULL;\r
-}\r
-\r
/**\r
* Identify the core, just to check that we have support for it.\r
*\r
}\r
\r
\r
-/**\r
- * Set bus clocks. SysClk,AHBClk,APB1Clk,APB2Clk\r
- */\r
-static void SetClocks(Mcu_ClockSettingConfigType *clockSettingsPtr)\r
-{\r
-\r
-}\r
-\r
/**\r
* Initialize Peripherals clocks\r
*/\r
\r
imask_t McuE_EnterCriticalSection()\r
{\r
- McuE_DisableInterrupts();\r
- return 0;\r
+ imask_t state;\r
+ Irq_Save(state);\r
+ return state;\r
}\r
\r
void McuE_ExitCriticalSection(uint32_t old_state)\r
{\r
- McuE_EnableInterrupts();\r
+ Irq_Restore(old_state);\r
}\r
\r
/**\r
\r
}\r
\r
-void McuE_EnableInterrupts(void)\r
-{\r
- Irq_Enable();\r
-}\r
-\r
-void McuE_DisableInterrupts(void)\r
-{\r
- Irq_Disable();\r
-}\r