Advanced Embedded Systems Question:

Download Job Interview Questions and Answers PDF

Write a program to show the functionality of Power-save super loop?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

Answer:

To check the loop time of the program the power-save super loop is used. If the average loop time of the program is 1ms, and it requires only few instructions to be checked every second the program will save the state and build a delay that will be caused to read the input on every loop and it saves lot of energy or the power that needs to be used. The function that is required to be performed to show the functionality is:
Main_Function()
Function
{
Initialization();
Do_Forever
{
Check_Status();
Do_Calculations();
Output_Response();
Delay_For_Next_Loop();
}
}

Download Advanced Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
Do you know how does the interrupt architecture works?Tell me which register bank is used if we use the following instructions.
SETB PSW.3 A
SETB PSW.4 B?