Hi all,
How to read or access a general register R1 in MPC5744P micro-controller?
Thanks
yes I meant that
but the question
Is there a memory mapped address for register R1 instead of using assembly code for accessing it?
I defined a variable like this but it raises the following error
expected '=', ',', ';', 'asm' or '__attribute__' before 'asm'
this construction can be used with the S32DS default C standard, not with C99.
Anyway, this technique is almost unusable and deprecated because of optimization. Can you describe in more details what is your goal?
My goal is to implement a function to monitor the value of R1 register in run time, then import this function to be used in a simulink model.