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.

CCS5 ,调试controlSUITE 里28035例程时发现 没有定义GPIO输入量化寄存器

Other Parts Discussed in Thread: CONTROLSUITE

CCS5 ,调试controlSUITE 里28035例程时发现 没有定义GPIO输入量化寄存器,如果我要在CCS5里面用到这个寄存器,应该怎么定义。

  • taotao,

    在DSP2803x_Gpio.h中就有关于这个寄存器的定义:

    struct GPIO_CTRL_REGS {    union  GPACTRL_REG  GPACTRL;   // GPIO A Control Register (GPIO0 to 31)   

    union  GPA1_REG     GPAQSEL1;  // GPIO A Qualifier Select 1 Register (GPIO0 to 15)   

    union  GPA2_REG     GPAQSEL2;  // GPIO A Qualifier Select 2 Register (GPIO16 to 31)   

    union  GPA1_REG     GPAMUX1;   // GPIO A Mux 1 Register (GPIO0 to 15)

    Eric