Fix portSET_INTERRUPT_MASK_FROM_ISR definition for atomic operation (#940)

* Introduce portHAS_NESTED_INTERRUPTS to identify if port has nested interrupt or not.
* Update atomic.h to use portHAS_NESTED_INTERRUPTS instead of portSET_INTERRUPT_MASK_FROM_ISR definition.

---------

Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: ActoryOu <jay2002824@gmail.com>
This commit is contained in:
chinglee-iot 2024-01-03 15:47:05 +08:00 committed by GitHub
parent 75c4044b7e
commit be880a1fc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 44 additions and 12 deletions

View file

@ -59,6 +59,7 @@ brhi
brne
bswtrg
BSWTRG
Bytesto
CANEN
CANRX
CANTX
@ -89,13 +90,16 @@ CKGR
CKLO
CKPS
CLDIV
CLEARINTENA
CLKA
CLKB
CLKDIS
CLKEN
clki
CLKI
CLKP
CLKS
CLKSOURCE
CLKSTA
CLRB
CLRF
@ -690,6 +694,7 @@ Rsvd
RTAR
RTCEN
RTCSC
RTICTL
RTIE
RTIF
RTIFRC
@ -713,6 +718,7 @@ RXRSM
RXSETUP
RXSUSP
RXSYN
RXTDIS
RXTEN
RXUBR
SBYCR
@ -726,6 +732,7 @@ SECU
SENDA
SETB
SETEN
SETINTENA
SETPSW
SETR
setvect
@ -849,6 +856,7 @@ TXVC
TXVDIS
UDCP
uncrustify
UNDADD
UNRE
unsuspended
URAD
@ -867,6 +875,7 @@ VDDCORE
vect
VECT
VECTACTIVE
VECTKEY
visualisation
vldmdbeq
vldmia