Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

7. A microcontroller is before the ISR is finished. What happens? executing an i

ID: 3709078 • Letter: 7

Question

7. A microcontroller is before the ISR is finished. What happens? executing an interrupt function, or ISR. Another interrupt occurs New interrupt stops original ISR, new ISR executes, and then old ISR finishes b. a. New ISR is ignored since original ISR hasn't finished c. Original ISR finishes, and new interrupt is addressed afterwards. d. Original ISR stops, new ISR executes, and then program resumes from 8. The number 38900 is sent to the microcontroller from a PC as a string. What is the ber value? minimum size of the byte array needed to further convert the string to a num If the variable x is a signed int used to represent the number, will the number b represented correctly? a. 5, No b. 5, Yes c. 6, No d. 6, Yes

Explanation / Answer

Question 7

Answer

c.Original ISR finishes, and new interrupt is addressed afterwards.

Explanation

The genereal routine is that the ISR which is running will finish first until thre is any interrupt from itself.But consider the interrupt is occured with higher prirority then the problem may be there.In general the running ISR will finish first and then move on to the next part.

Question 8

Answer

b.6,Yes

Explanation
It can be done by following the berlow method

String s"38900";
byte[] are = s.getBytes()

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote