I have been doing pretty well getting my code up and running using example code from projects, but I am finding myself taking a lot of things on faith as to how they work and have not found much documentation on them. If someone could point me to what I am missing I would very much appreciate it.
Specifically,
1) In Code Composer studio, there is the IER variable, EINT (guessing macro), and DINT (guessing macro) that I see in lots of code snippits. I think I have started to derive what these do by looking at a bunch of code but I would really like some documentation on how these are supposed to be used to make sure I understand them and all their abilities.
2) CPU Timer Register configuration- In my project I have had to get some CPU timers functioning and running by working at snippits of code here and there but a lot of the register assignments I am making I just have to take on faith. For example:
CpuTimer0.RegsAddr->TCR.bit.TSS = 0;
CpuTimer0Regs.TCR.all = 0x4001; // Use write-only instruction to set TSS bit = 0
I
know these lines must be set in order to make the timers run but I haven't got the slightest idea what I am actually doing with these assignments.
Any help would be appreciated as to where I can find documentation on these sorts of topics.
Thanks