Skip to main content
a a
Associate
August 9, 2017
Solved

how to disable/enable all the interrupt of STM32L4xx by STM CUBE

  • August 9, 2017
  • 4 replies
  • 7429 views
Posted on August 09, 2017 at 04:53

I just wonder how to disable/enable all the interrupt of STM32L4xx by STM CUBE.I found this not mentioned in the CUBE hal UM.  I appreciate if someone can help me for this.

    This topic has been closed for replies.
    Best answer by waclawek.jan
    Posted on August 09, 2017 at 10:50

    __enable_irq() and __disable_irq()

    These are CMSIS intrinsics, not Cube.

    JW

    4 replies

    waclawek.jan
    waclawek.janBest answer
    Super User
    August 9, 2017
    Posted on August 09, 2017 at 10:50

    __enable_irq() and __disable_irq()

    These are CMSIS intrinsics, not Cube.

    JW

    a a
    a aAuthor
    Associate
    August 11, 2017
    Posted on August 11, 2017 at 05:21

    Hi JW

         Thanks for your help. It solved my problem.

    aa.

    SAMIN.1
    Associate III
    November 4, 2021

    @Community member​ how do you solve?

    SAMIN.1
    Associate III
    November 4, 2021

    @Community member​ did you solve while using HAL library?