Skip to main content
patrickbrataas9
Associate III
November 14, 2014
Question

STM32Cube callbacks and variables

  • November 14, 2014
  • 1 reply
  • 595 views
Posted on November 14, 2014 at 13:00

As far as I can see the new STM32Cube has callbacks that are called from the ISRs. This means that all variables that can be changed within the callback and accessed from outside the callback has to be declared as volatile as usual? I would like some confirmation/thoughts on this.

#volatile
    This topic has been closed for replies.

    1 reply

    waclawek.jan
    Super User
    November 14, 2014
    Posted on November 14, 2014 at 13:19

    As this is a purely Cube-related issue, please re-post this question in the [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx]dedicated ''STM32 Software Tools'' sub-forum.

    JW