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.

28335 GPIO设置求助

使用28335芯片,通过

GpioCtrlRegs.GPAMUX2.bit.GPIO17 = 0; 
GpioCtrlRegs.GPADIR.bit.GPIO17 = 1;

将GPIO17设置为GPIO模式,方向为输出,

通过GpioDataRegs.GPATOGGLE.bit.GPIO17 = 1; 

将GPIO17状态翻转

然后通过仿真,发现状态并未改变,请问这是为什么?