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.

官网下载的C6474的CSL库文件,但是CSL库中对寄存器的结构体定义与C6474的数据手册不符合



你好,我从TI官网下载C6474的CSL库文件:www.ti.com.cn/.../toolssoftware    C6474 芯片支持库 (CSL)

但是该库中对于GPIO寄存器的结构体定义与C6474的数据手册中的GPIO寄存器定义不符合

CSL库中对于GPIO寄存器的结构体定义:

typedef struct {
volatile Uint8 RSVD0[8];
volatile Uint32 BINTEN;
volatile Uint8 RSVD1[4];
volatile Uint32 DIR;
volatile Uint32 OUT_DATA;
volatile Uint32 SET_DATA;
volatile Uint32 CLR_DATA;
volatile Uint32 IN_DATA;
volatile Uint32 SET_RIS_TRIG;
volatile Uint32 CLR_RIS_TRIG;
volatile Uint32 SET_FAL_TRIG;
volatile Uint32 CLR_FAL_TRIG;
} CSL_GpioRegs;

与C6474的数据手册中的GPIO寄存器定义: