What is the need for an infinite loop in Embedded systems?
Infinite Loops are those program constructs where in there is no break statement so as to get out of the loop, it just keeps looping over the statements within the block defined.
Example:
While(Boolean True) OR for(??)?
{/
/Code
}
Embedded systems need infinite loops for repeatedly processing/monitoring the state of the program. One example could be the case of a program state continuously being checked for any exceptional errors that might just occur during run time such as memory outage or divide by zero etc.,
For e.g. Customer care Telephone systems where in a prerecorded audio file is played in case the dialer is put on hold.
CONTINUE READING �
Infinite Loops are those program constructs where in there is no break statement so as to get out of the loop, it just keeps looping over the statements within the block defined.
Example:
While(Boolean True) OR for(??)?
{/
/Code
}
Embedded systems need infinite loops for repeatedly processing/monitoring the state of the program. One example could be the case of a program state continuously being checked for any exceptional errors that might just occur during run time such as memory outage or divide by zero etc.,
For e.g. Customer care Telephone systems where in a prerecorded audio file is played in case the dialer is put on hold.
Also circuits being responsible for indicating that a particular component is active/alive during its operation by means of LED's.
Watchdog Timer Interview Questions
Model transformations And Interaction Semantics
Mutexes Vs Semaphores
Macros And In-line Functions Comparison�
How does combination of functions reduce memory requirements in embedded systems?
The amount of code that has to be dealt with is reduced thus easing the overhead and redundancy is eliminated in case if there is anything common among the functions.
Memory allocation is another aspect that is optimized and it also makes sense to group a set of functions related in some way as one single unit rather than having them to be dispersed in the whole program.In case of interactive systems display of menu list and reading in the choices of user's could be encapsulated as a single unit.
Watchdog Timer Interview Questions
Model transformations And Interaction Semantics
Mutexes Vs Semaphores
Macros And In-line Functions Comparison�
How does combination of functions reduce memory requirements in embedded systems?
The amount of code that has to be dealt with is reduced thus easing the overhead and redundancy is eliminated in case if there is anything common among the functions.
Memory allocation is another aspect that is optimized and it also makes sense to group a set of functions related in some way as one single unit rather than having them to be dispersed in the whole program.In case of interactive systems display of menu list and reading in the choices of user's could be encapsulated as a single unit.
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :