nvic.c.016i.visibility 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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) @06177620
  9. Type: function definition analyzed
  10. Visibility: externally_visible public
  11. References:
  12. Referring:
  13. Availability: available
  14. Function flags: body optimize_size
  15. Called by:
  16. Calls:
  17. NVIC_DisableIRQ/2 (NVIC_DisableIRQ) @06177d20
  18. Type: function definition analyzed
  19. Visibility: externally_visible public
  20. References:
  21. Referring:
  22. Availability: available
  23. Function flags: body optimize_size
  24. Called by:
  25. Calls:
  26. NVIC_EnableIRQ/1 (NVIC_EnableIRQ) @06177a80
  27. Type: function definition analyzed
  28. Visibility: externally_visible public
  29. References:
  30. Referring:
  31. Availability: available
  32. Function flags: body optimize_size
  33. Called by:
  34. Calls:
  35. NVIC_SetPriorityGrouping/0 (NVIC_SetPriorityGrouping) @061777e0
  36. Type: function definition analyzed
  37. Visibility: externally_visible public
  38. References:
  39. Referring:
  40. Availability: available
  41. Function flags: body optimize_size
  42. Called by:
  43. Calls:
  44. NVIC_SetPriority (uint8 IRQn, uint8 priority)
  45. {
  46. uint8 shift;
  47. <bb 2> :
  48. # DEBUG BEGIN_STMT
  49. shift = 4;
  50. # DEBUG BEGIN_STMT
  51. _1 = (long unsigned int) priority;
  52. _2 = (int) shift;
  53. _3 = _1 << _2;
  54. _4 = 3758153984B;
  55. _5 = (long unsigned int) IRQn;
  56. _6 = (unsigned char) _3;
  57. _4->IP[_5] = _6;
  58. return;
  59. }
  60. NVIC_DisableIRQ (uint8 IRQn)
  61. {
  62. <bb 2> :
  63. # DEBUG BEGIN_STMT
  64. _1 = (long unsigned int) IRQn;
  65. _2 = _1 & 31;
  66. _3 = 3758153984B;
  67. _4 = IRQn >> 5;
  68. _5 = (long unsigned int) _4;
  69. _6 = 1 << _2;
  70. _3->ICER[_5] = _6;
  71. return;
  72. }
  73. NVIC_EnableIRQ (uint8 IRQn)
  74. {
  75. <bb 2> :
  76. # DEBUG BEGIN_STMT
  77. _1 = (long unsigned int) IRQn;
  78. _2 = _1 & 31;
  79. _3 = 3758153984B;
  80. _4 = IRQn >> 5;
  81. _5 = (long unsigned int) _4;
  82. _6 = 1 << _2;
  83. _3->ISER[_5] = _6;
  84. return;
  85. }
  86. NVIC_SetPriorityGrouping (uint32 PriorityGroup)
  87. {
  88. <bb 2> :
  89. # DEBUG BEGIN_STMT
  90. _1 = 3758153728B;
  91. _2 = _1->AIRCR;
  92. _3 = _2 & 4294965503;
  93. _4 = 3758153728B;
  94. _5 = PriorityGroup | _3;
  95. _4->AIRCR = _5;
  96. return;
  97. }