nvic.c.068i.whole-program 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. Marking local functions:
  2. Marking externally visible functions: NVIC_SetPriority NVIC_DisableIRQ NVIC_EnableIRQ NVIC_SetPriorityGrouping
  3. Marking externally visible variables:
  4. Reclaiming functions:
  5. Reclaiming variables:
  6. Clearing address taken flags:
  7. Symbol table:
  8. NVIC_SetPriority/3 (NVIC_SetPriority) @06e52620
  9. Type: function definition analyzed
  10. Visibility: force_output externally_visible no_reorder public
  11. References:
  12. Referring:
  13. Availability: available
  14. Function flags: body
  15. Called by:
  16. Calls:
  17. NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06e52d20
  18. Type: function definition analyzed
  19. Visibility: force_output externally_visible no_reorder public
  20. References:
  21. Referring:
  22. Availability: available
  23. Function flags: body
  24. Called by:
  25. Calls:
  26. NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @06e52a80
  27. Type: function definition analyzed
  28. Visibility: force_output externally_visible no_reorder public
  29. References:
  30. Referring:
  31. Availability: available
  32. Function flags: body
  33. Called by:
  34. Calls:
  35. NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @06e527e0
  36. Type: function definition analyzed
  37. Visibility: force_output externally_visible no_reorder public
  38. References:
  39. Referring:
  40. Availability: available
  41. Function flags: body
  42. Called by:
  43. Calls:
  44. NVIC_SetPriority (uint8 IRQn, uint8 priority)
  45. {
  46. uint8 shift;
  47. long unsigned int _1;
  48. int _2;
  49. long unsigned int _3;
  50. struct S32_NVIC_Type * _4;
  51. long unsigned int _5;
  52. unsigned char _6;
  53. <bb 2> :
  54. shift_7 = 4;
  55. _1 = (long unsigned int) priority_8(D);
  56. _2 = (int) shift_7;
  57. _3 = _1 << _2;
  58. _4 = 3758153984B;
  59. _5 = (long unsigned int) IRQn_9(D);
  60. _6 = (unsigned char) _3;
  61. _4->IP[_5] ={v} _6;
  62. return;
  63. }
  64. NVIC_DisableIRQ (uint8 IRQn)
  65. {
  66. long unsigned int _1;
  67. long unsigned int _2;
  68. struct S32_NVIC_Type * _3;
  69. unsigned char _4;
  70. long unsigned int _5;
  71. long unsigned int _6;
  72. <bb 2> :
  73. _1 = (long unsigned int) IRQn_7(D);
  74. _2 = _1 & 31;
  75. _3 = 3758153984B;
  76. _4 = IRQn_7(D) >> 5;
  77. _5 = (long unsigned int) _4;
  78. _6 = 1 << _2;
  79. _3->ICER[_5] ={v} _6;
  80. return;
  81. }
  82. NVIC_EnableIRQ (uint8 IRQn)
  83. {
  84. long unsigned int _1;
  85. long unsigned int _2;
  86. struct S32_NVIC_Type * _3;
  87. unsigned char _4;
  88. long unsigned int _5;
  89. long unsigned int _6;
  90. <bb 2> :
  91. _1 = (long unsigned int) IRQn_7(D);
  92. _2 = _1 & 31;
  93. _3 = 3758153984B;
  94. _4 = IRQn_7(D) >> 5;
  95. _5 = (long unsigned int) _4;
  96. _6 = 1 << _2;
  97. _3->ISER[_5] ={v} _6;
  98. return;
  99. }
  100. NVIC_SetPriorityGrouping (uint32 PriorityGroup)
  101. {
  102. struct S32_SCB_Type * _1;
  103. long unsigned int _2;
  104. long unsigned int _3;
  105. struct S32_SCB_Type * _4;
  106. long unsigned int _5;
  107. <bb 2> :
  108. _1 = 3758153728B;
  109. _2 ={v} _1->AIRCR;
  110. _3 = _2 & 4294965503;
  111. _4 = 3758153728B;
  112. _5 = PriorityGroup_7(D) | _3;
  113. _4->AIRCR ={v} _5;
  114. return;
  115. }