You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have fields in registers whose purpose changes depending on other fields. The offset and size of the fields do not change. I can't just list all the options because duplication is not allowed in cmsis. In another case, the manufacturer in svd split the register into two "CM1_INPUT" and "CM1_OUTPUT" with the same address and different fields. Is this the only solution?
What is the best way to solve such problems?
Also a question. How to merge and is it worth the cfghr and cfglr registers?
The text was updated successfully, but these errors were encountered:
At the moment I decided not to use enumerations for this field, but to implement it in the HAL. It seems CMSIS does not support such a feature. About alternative registers, see #16
I have fields in registers whose purpose changes depending on other fields. The offset and size of the fields do not change. I can't just list all the options because duplication is not allowed in cmsis. In another case, the manufacturer in svd split the register into two "CM1_INPUT" and "CM1_OUTPUT" with the same address and different fields. Is this the only solution?
What is the best way to solve such problems?
Also a question. How to merge and is it worth the cfghr and cfglr registers?
The text was updated successfully, but these errors were encountered: