12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- Power_Ip_CM4_DisableDeepSleep ()
- {
- uint32 tempValue;
- struct Power_Ip_CM4_Type * pCM4.8_1;
- struct Power_Ip_CM4_Type * pCM4.9_2;
- <bb 2> :
- tempValue_3 = 0;
- pCM4.8_1 = pCM4;
- tempValue_5 ={v} pCM4.8_1->SCR;
- tempValue_6 = tempValue_5 & 4294967291;
- pCM4.9_2 = pCM4;
- pCM4.9_2->SCR ={v} tempValue_6;
- return;
- }
- Power_Ip_CM4_EnableDeepSleep ()
- {
- uint32 tempValue;
- struct Power_Ip_CM4_Type * pCM4.6_1;
- struct Power_Ip_CM4_Type * pCM4.7_2;
- <bb 2> :
- tempValue_3 = 0;
- pCM4.6_1 = pCM4;
- tempValue_5 ={v} pCM4.6_1->SCR;
- tempValue_6 = tempValue_5 | 4;
- pCM4.7_2 = pCM4;
- pCM4.7_2->SCR ={v} tempValue_6;
- return;
- }
- Power_Ip_CM4_EnableSleepOnExit ()
- {
- uint32 tempValue;
- struct Power_Ip_CM4_Type * pCM4.4_1;
- struct Power_Ip_CM4_Type * pCM4.5_2;
- <bb 2> :
- tempValue_3 = 0;
- pCM4.4_1 = pCM4;
- tempValue_5 ={v} pCM4.4_1->SCR;
- tempValue_6 = tempValue_5 | 2;
- pCM4.5_2 = pCM4;
- pCM4.5_2->SCR ={v} tempValue_6;
- return;
- }
- Power_Ip_CM4_DisableSleepOnExit ()
- {
- uint32 tempValue;
- struct Power_Ip_CM4_Type * pCM4.2_1;
- struct Power_Ip_CM4_Type * pCM4.3_2;
- <bb 2> :
- tempValue_3 = 0;
- pCM4.2_1 = pCM4;
- tempValue_5 ={v} pCM4.2_1->SCR;
- tempValue_6 = tempValue_5 & 4294967293;
- pCM4.3_2 = pCM4;
- pCM4.3_2->SCR ={v} tempValue_6;
- return;
- }
- Power_Ip_CM4_SystemReset ()
- {
- uint32 u32TmpValue;
- struct Power_Ip_CM4_Type * pCM4.0_1;
- long unsigned int _2;
- struct Power_Ip_CM4_Type * pCM4.1_3;
- <bb 2> :
- pCM4.0_1 = pCM4;
- _2 ={v} pCM4.0_1->AIRCR;
- u32TmpValue_5 = _2 & 1792;
- u32TmpValue_6 = u32TmpValue_5 | 4;
- u32TmpValue_7 = u32TmpValue_6 | 100270080;
- __asm__ __volatile__(" dsb");
- pCM4.1_3 = pCM4;
- pCM4.1_3->AIRCR ={v} u32TmpValue_7;
- __asm__ __volatile__(" dsb");
- return;
- }
|