Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How could I represent a interrupt (for microcontrollers) in a flowchart? [closed]

Does anyone have any visual examples?

like image 701
Daniel Grillo Avatar asked Mar 27 '10 13:03

Daniel Grillo


People also ask

How does interrupt work in microcontroller?

Interrupts are the events that temporarily suspend the main program, pass the control to the external sources and execute their task. It then passes the control to the main program where it had left off.

Which symbol is used to stop the process temporarily in the flowchart?

Answer: the oval symbol is used to start or stop a flow chart.


1 Answers

Typically interrupts communicate with your "main" function (or other interrupts for that matter) through the use of "shared" global variables in C-based embedded systems. I think a sensible way to represent this in a flow chart is to use a dashed line between processing blocks where such "communications" impact program flow.

like image 195
vicatcu Avatar answered Nov 01 '22 07:11

vicatcu