Skip to content

How to enable multiple peripheral interrupts ? #1148

Closed Answered by stdefeber
stdefeber asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for your quick response.

Brackets, brackets, brackets :(

I changed it to:

neorv32_cpu_csr_set((CSR_MIE, 1 << GPTMR_FIRQ_ENABLE) | (1 << UART0_RX_FIRQ_ENABLE)); 

Which resulted in correct behaviour.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stnolting
Comment options

Answer selected by stnolting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
SW Software-related troubleshooting Something is not working as expected
2 participants