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.
在对GPIO配置时,若使用GPIO的复用功能GPAMUX,如复用PWM,TZ功能,需要对GPAMUX寄存器配置。在进行复用时,是否还需对GPIO口其它寄存器配置,如使能上拉PUD寄存器,方向DIR寄存器,复用时配置这些寄存器是不是不起作用了?
有些会起作用(比如GPAPUD),有些不会起作用(比如GPADIR、GPASET、GPACLEAR、GPATOGGLE)。具体请看一下sprui07_TMS320x2833x, TMS320x2823x Technical Reference Manual第87页的Figure 1-40. GPIO0 to GPIO27 Multiplexing Diagram: