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

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