logo

Crowdly

Browser

Add to Chrome

[1 mark//1 punt] On an STM32 microcontroller, you configure three interrupts w...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

[1 mark//1 punt]

On an STM32 microcontroller, you configure three interrupts with the following NVIC preemption priorities (lower number = higher priority):

  • EXTI interrupt for the ultrasonic sensor echo: priority 1
  • UART interrupt for receiving commands: priority 2
  • EXTI interrupt for the LMT01 temperature sensor pulses: priority 3

While the LMT01 EXTI ISR is running, a UART interrupt becomes pending, and shortly after that an ultrasonic sensor EXTI interrupt also becomes pending. All interrupts are enabled. Which statement best describes what the NVIC (Nested Vectored Interrupt Controller) and MCU will do?

//

Op 'n STM32-mikrobeheerder konfigureer jy drie onderbrekings met die volgende NVIC-voorrangprioriteite (laer getal = hoër prioriteit):

  • EXTI-onderbreking vir die ultrasoniese sensor-eggo: prioriteit 1
  • UART-onderbreking vir die ontvangs van bevele: prioriteit 2
  • EXTI-onderbreking vir die LMT01-temperatuursensorpulse: prioriteit 3

Terwyl die LMT01 EXTI ISR loop, word 'n UART-onderbreking hangende, en kort daarna word 'n ultrasoniese sensor EXTI-onderbreking ook hangende. Alle onderbrekings word geaktiveer. Watter stelling beskryf die beste wat die NVIC (Nested Vectored Interrupt Controller) en MCU sal doen?

More questions like this

Want instant access to all verified answers on stemlearn.sun.ac.za?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome