- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I have a general question regarding registers.
I am trying to set a value to a register in the following manner: register_x.U = x
However, when I try to debug the code, I see that the register is not updating.
If I declare a variable of type register_x (register_x my_reg_x) and assign that variable a value (my_reg_x.U = x) and the assign my variable to the register (register_x.U = my_ref_x.U) then the register contents update.
Can anyone share with me why this is?
I am using tc234 mcu.
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You could refer to sections "1.1.3 Reserved, Undefined, and Unimplemented Terminology" and "1.1.4 Register Access Modes" in the User Manual given in this link.
Kind Regards,
Aiswarya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please let us know the register you are trying to update?
Regards,
Aiswarya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You could refer to sections "1.1.3 Reserved, Undefined, and Unimplemented Terminology" and "1.1.4 Register Access Modes" in the User Manual given in this link.
Kind Regards,
Aiswarya.