about the underscore before the registers???
hello, aces,
i am a beginner in learning the TS201, and one problem confused me, in the function: "builtin_sysreg_write(reg, int) ", before the parameter reg, we need to add underscore before the register name? why... i can't understand
underscore
register
Hi,
the register names require underscores as that is, by default, how they are defined in "...\TS\include\sysreg.h". As you will see from that header file, you can add a preprocessor definition "__NOUNDERSCORES__" so that the register names are defined without the "__".
Regards,
Craig.
This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.
Thank you,
EZ Admin
Please log in to reply.