nvic.c.082i.materialize-all-clones 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. NVIC_SetPriority (uint8 IRQn, uint8 priority)
  2. {
  3. long unsigned int _1;
  4. long unsigned int _2;
  5. long unsigned int _3;
  6. unsigned char _4;
  7. <bb 2> [local count: 1073741824]:
  8. # DEBUG BEGIN_STMT
  9. # DEBUG shift => 4
  10. # DEBUG BEGIN_STMT
  11. _1 = (long unsigned int) priority_5(D);
  12. _2 = _1 << 4;
  13. _3 = (long unsigned int) IRQn_6(D);
  14. _4 = (unsigned char) _2;
  15. MEM[(struct S32_NVIC_Type *)3758153984B].IP[_3] ={v} _4;
  16. return;
  17. }
  18. NVIC_DisableIRQ (uint8 IRQn)
  19. {
  20. long unsigned int _1;
  21. unsigned char _2;
  22. unsigned char _3;
  23. long unsigned int _4;
  24. long unsigned int _5;
  25. <bb 2> [local count: 1073741824]:
  26. # DEBUG BEGIN_STMT
  27. _2 = IRQn_6(D) & 31;
  28. _1 = (long unsigned int) _2;
  29. _3 = IRQn_6(D) >> 5;
  30. _4 = (long unsigned int) _3;
  31. _5 = 1 << _1;
  32. MEM[(struct S32_NVIC_Type *)3758153984B].ICER[_4] ={v} _5;
  33. return;
  34. }
  35. NVIC_EnableIRQ (uint8 IRQn)
  36. {
  37. long unsigned int _1;
  38. unsigned char _2;
  39. unsigned char _3;
  40. long unsigned int _4;
  41. long unsigned int _5;
  42. <bb 2> [local count: 1073741824]:
  43. # DEBUG BEGIN_STMT
  44. _2 = IRQn_6(D) & 31;
  45. _1 = (long unsigned int) _2;
  46. _3 = IRQn_6(D) >> 5;
  47. _4 = (long unsigned int) _3;
  48. _5 = 1 << _1;
  49. MEM[(struct S32_NVIC_Type *)3758153984B].ISER[_4] ={v} _5;
  50. return;
  51. }
  52. NVIC_SetPriorityGrouping (uint32 PriorityGroup)
  53. {
  54. long unsigned int _1;
  55. long unsigned int _2;
  56. long unsigned int _3;
  57. <bb 2> [local count: 1073741824]:
  58. # DEBUG BEGIN_STMT
  59. _1 ={v} MEM[(struct S32_SCB_Type *)3758153728B].AIRCR;
  60. _2 = _1 & 4294965503;
  61. _3 = _2 | PriorityGroup_5(D);
  62. MEM[(struct S32_SCB_Type *)3758153728B].AIRCR ={v} _3;
  63. return;
  64. }