Page 1 of 1

how to check which resources (like Timers) in use

Posted: Mon Feb 23, 2026 3:45 pm
by S_VE
Hi

While creating a embedded flowchart we use some standard components.
These components may use some resources ( like Timers....).

How can I know which Timers are in use, Just to avoid using the same Timers ( to avoid conflict).

Thanks

S_Ve

Re: how to check which resources (like Timers) in use

Posted: Mon Feb 23, 2026 4:08 pm
by chipfryer27
Hi

Perhaps include the timer being used in the macro name, then a quick glance in Project Explorer would show? There may well be a better way though.


Screenshot 2026-02-23 160543.jpg
Screenshot 2026-02-23 160543.jpg (62.49 KiB) Viewed 164 times

Regards

Re: how to check which resources (like Timers) in use

Posted: Mon Feb 23, 2026 4:26 pm
by Steve-Matrix
There is no way to do this directly within Flowcode.

If you are only concerned with the interrupts used by you in your program, you can right-click the "Interrupt" icon in the "Icons" list in Project Explorer and select "List occurrences". That will allow you to check on each interrupt more easily.

If you are concerned with timers (etc) used within components as well, then the best way may be to do an appropriate text search on the generated C code file.

Re: how to check which resources (like Timers) in use

Posted: Mon Feb 23, 2026 4:48 pm
by S_VE
Thank you for the quick reply,
Steve-Matrix wrote:
Mon Feb 23, 2026 4:26 pm
If you are concerned with timers (etc) used within components as well, then the best way may be to do an appropriate text search on the generated C code file.
[yes, I am asking about the timers (etc) used within components ]

When you said "appropriate text search" do you mean to say that, we should search for relevant registers of all the timers in the device? or, are there any other keywords to search. ( this i am asking about PIC devices particularly)

Re: how to check which resources (like Timers) in use

Posted: Mon Feb 23, 2026 5:29 pm
by Steve-Matrix
Yes, I was thinking about a search for relevant registers of that chip. For example "T2CON" is used for Timer2 on some (most?) PICmicros.

But also be aware that some aspects of Flowcode's CAL may also use some internal resources. For example, the PWM does sometimes also use Timer2.