Why "error: timer used in more than one case"

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
User avatar
aclassifier
Respected Member
Posts: 357
Joined: Wed Apr 25, 2012 8:52 pm

Why "error: timer used in more than one case"

Postby aclassifier » Sat May 09, 2020 5:20 pm

Why is this error message necessary?

Code: Select all

error: timer used in more than one case
If I make two timerafter in two cases then they need to be modeled as being two distinct timers.

However, I get the same amount of HW timers being used. So, they are mapped to the same HW timer? Why then, the above requirement?

Plus, logically for me, it's the timerafter values that count, the timer is just some logical idea bearer in this concrete situation(?)
--
Øyvind Teig
Trondheim (Norway)
https://www.teigfam.net/oyvind/home/

Who is online

Users browsing this forum: No registered users and 3 guests