Flow diagrams for embedded applications
Show the workflow diagrams independently, one for the main loop, one for the DMA and the other for the interrupts.

As the interrups are triggered by external events (like ADC ready, timer, external interrupts) it cannot be in the main loop.

Just at the begining of the workflow, put the tittle in a circle, for example: "Main", "EXT_INT", "DMA", etc.

Good luck!