File tree Expand file tree Collapse file tree 7 files changed +14
-0
lines changed Expand file tree Collapse file tree 7 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -589,6 +589,8 @@ __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
589
589
__STATIC_INLINE void NVIC_DisableIRQ (IRQn_Type IRQn )
590
590
{
591
591
NVIC -> ICER [0 ] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
592
+ __DSB ();
593
+ __ISB ();
592
594
}
593
595
594
596
Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
703
703
__STATIC_INLINE void NVIC_DisableIRQ (IRQn_Type IRQn )
704
704
{
705
705
NVIC -> ICER [0 ] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
706
+ __DSB ();
707
+ __ISB ();
706
708
}
707
709
708
710
Original file line number Diff line number Diff line change @@ -1431,6 +1431,8 @@ __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
1431
1431
__STATIC_INLINE void __NVIC_DisableIRQ (IRQn_Type IRQn )
1432
1432
{
1433
1433
NVIC -> ICER [(((uint32_t )(int32_t )IRQn ) >> 5UL )] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
1434
+ __DSB ();
1435
+ __ISB ();
1434
1436
}
1435
1437
1436
1438
Original file line number Diff line number Diff line change @@ -1597,6 +1597,8 @@ __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
1597
1597
__STATIC_INLINE void __NVIC_DisableIRQ (IRQn_Type IRQn )
1598
1598
{
1599
1599
NVIC -> ICER [(((uint32_t )(int32_t )IRQn ) >> 5UL )] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
1600
+ __DSB ();
1601
+ __ISB ();
1600
1602
}
1601
1603
1602
1604
Original file line number Diff line number Diff line change @@ -1754,6 +1754,8 @@ __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
1754
1754
__STATIC_INLINE void NVIC_DisableIRQ (IRQn_Type IRQn )
1755
1755
{
1756
1756
NVIC -> ICER [(((uint32_t )(int32_t )IRQn ) >> 5UL )] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
1757
+ __DSB ();
1758
+ __ISB ();
1757
1759
}
1758
1760
1759
1761
Original file line number Diff line number Diff line change @@ -705,6 +705,8 @@ __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
705
705
__STATIC_INLINE void NVIC_DisableIRQ (IRQn_Type IRQn )
706
706
{
707
707
NVIC -> ICER [0 ] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
708
+ __DSB ();
709
+ __ISB ();
708
710
}
709
711
710
712
Original file line number Diff line number Diff line change @@ -1376,6 +1376,8 @@ __STATIC_INLINE void NVIC_EnableIRQ(IRQn_Type IRQn)
1376
1376
__STATIC_INLINE void NVIC_DisableIRQ (IRQn_Type IRQn )
1377
1377
{
1378
1378
NVIC -> ICER [(((uint32_t )(int32_t )IRQn ) >> 5UL )] = (uint32_t )(1UL << (((uint32_t )(int32_t )IRQn ) & 0x1FUL ));
1379
+ __DSB ();
1380
+ __ISB ();
1379
1381
}
1380
1382
1381
1383
You can’t perform that action at this time.
0 commit comments