nvic.c.016i.visibility 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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. <bb 2> :
  48. shift = 4;
  49. _1 = (long unsigned int) priority;
  50. _2 = (int) shift;
  51. _3 = _1 << _2;
  52. _4 = 3758153984B;
  53. _5 = (long unsigned int) IRQn;
  54. _6 = (unsigned char) _3;
  55. _4->IP[_5] = _6;
  56. return;
  57. }
  58. NVIC_DisableIRQ (uint8 IRQn)
  59. {
  60. <bb 2> :
  61. _1 = (long unsigned int) IRQn;
  62. _2 = _1 & 31;
  63. _3 = 3758153984B;
  64. _4 = IRQn >> 5;
  65. _5 = (long unsigned int) _4;
  66. _6 = 1 << _2;
  67. _3->ICER[_5] = _6;
  68. return;
  69. }
  70. NVIC_EnableIRQ (uint8 IRQn)
  71. {
  72. <bb 2> :
  73. _1 = (long unsigned int) IRQn;
  74. _2 = _1 & 31;
  75. _3 = 3758153984B;
  76. _4 = IRQn >> 5;
  77. _5 = (long unsigned int) _4;
  78. _6 = 1 << _2;
  79. _3->ISER[_5] = _6;
  80. return;
  81. }
  82. NVIC_SetPriorityGrouping (uint32 PriorityGroup)
  83. {
  84. <bb 2> :
  85. _1 = 3758153728B;
  86. _2 = _1->AIRCR;
  87. _3 = _2 & 4294965503;
  88. _4 = 3758153728B;
  89. _5 = PriorityGroup | _3;
  90. _4->AIRCR = _5;
  91. return;
  92. }