This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler: A question about CANRMP register of 28032

Part Number: 28032

Tool/software: TI C/C++ Compiler

hi,

We are developing a project with 28032, we have a question hope to check with you.

1. ECanaRegs.CANRMP.all |= (Uint32)1 << Mailbox_Num;

whether this register was operated by 32bite?

2.whether can I modify register ECanaRegs.CANRMP as 32bite directly if we don't need modify bite ?

Thank you

  • whether this register was operated by 32bite?

    Yes. Anytime you use “.all” it is a 32-bit operation.

     

    whether can I modify register ECanaRegs.CANRMP as 32bite directly if we don't need modify bite ?

    Sorry, I don’t understand what you are asking. You should indeed perform only 32-bit operations on this register.