Re: dsp33ch的p33CH512MP508.h file不能更改

作者 hjlin@nfu. 於 2020年05月14日 11:19:46
您好

可是像原來
typedef struct tagADMOD0LBITS {
uint16_t SIGN0:1;
uint16_t :1;
uint16_t SIGN1:1;
uint16_t :1;
uint16_t SIGN2:1;
uint16_t :1;
uint16_t SIGN3:1;
uint16_t :1;
uint16_t SIGN4:1;
uint16_t :1;
uint16_t SIGN5:1;
uint16_t :1;
uint16_t SIGN6:1;
uint16_t :1;
uint16_t SIGN7:1;
} ADMOD0LBITS;

是沒有定義 uint16_t DIFF0:1; and uint16_t DIFF1:1;
那我要如何加這兩個定義?否則compilier會有redefine的問題!

typedef struct tagADMOD0LBITS {
uint16_t SIGN0:1;
uint16_t DIFF0:1;
uint16_t SIGN1:1;
uint16_t DIFF1:1;
uint16_t SIGN2:1;
uint16_t :1;
uint16_t SIGN3:1;
uint16_t :1;
uint16_t SIGN4:1;
uint16_t :1;
uint16_t SIGN5:1;
uint16_t :1;
uint16_t SIGN6:1;
uint16_t :1;
uint16_t SIGN7:1;
} ADMOD0LBITS;

thanks

來自: http://www.microchip.com.tw/newbb/viewtopic.php?forum=2&topic_id=22880&post_id=80647