1 of 1 people found this helpful
Q1) Why are there 2 versions of the same #define, one with a single underscore and one with a double underscore?
Creator originally used the version with two underscores to prevent macro names from colliding with macros from sub-instances. Sub-instances are hierarchical child blocks. An interrupt is a primitive so it cannot contain sub-blocks but a user-defined component may have sub-blocks. Based on a marketing/customer request, Creator also generates a version without the double underscore when possible.
Q2) What is the purpose of the "ASSIGNED" define, it is not used anywhere in the firmware?
The _ASSIGNED macros reflect the value of the interrupt CPU assignment option from the project’s DWR settings. It is provided for user application and hence is not used anywhere in the firmware.