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/MSP432E411Y: How to work with pointer to fields of packed structures

Part Number: MSP432E411Y

Tool/software: TI C/C++ Compiler

Dear Experts,

I want to make functions able to work on fields of packed structures. According to SPNU151U it is only allowed to create uint8_t pointers on such fields. This is not very handy and error prone, because it disables type checks by the compiler.

According to

https://developer.arm.com/docs/dui0472/e/compiler-coding-practices/unaligned-pointers-in-c-and-c-code

there seems to be support for this case in the arm compiler. Is something similar available for the TI arm compiler?