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.

TMS320F2809: union可以用Uint64类型么?

Part Number: TMS320F2809

请问union可以用Uint64类型么?我想自定义一个union,但是看到了官方文档中的union基本都是Uint16类型的,所以提出该问题,不知道是否可行?

struct PARAS_ctrl1 { // bits description
float val1:32; // 31:0 
Uint16 va2:16; // 47:32 
Uint16 val3:16; // 63:48 
};

union PARAS_C1 {
Uint64 all;
struct PARAS_ctrl1 bit;
};