TI中文支持网
TI专业的中文技术问题搜集分享网站

GPAGMUX2和GPAMUX2有什么区别?

哪位大神知道GPAGMUX2和GPAMUX2有什么区别?

Seven Han:

您好,

7.7 GPIO and Peripheral MuxingUp to twelve different peripheral functions are multiplexed to each pin along with a general-purposeinput/output (GPIO) function. This allows you to choose the peripheral mix and pinout that will work bestfor your particular application. Refer to the table below for muxing combinations and definitions.

每个gpio功能多大12个,GPyGMUXn 和 GPyMUXn 两个寄存器一起决定您配置gpio的为哪个功能

For example, the multiplexing for the GPIO 6 pin is controlled by writing toGPAGMUX[13:12] andGPAMUX[13:12]. By writing to these bits, GPIO 6 can be configured as either ageneral-purpose digital I/Oor one of four different peripheral functions. The options are shown inTable 7-9.

哪位大神知道GPAGMUX2和GPAMUX2有什么区别?

user4329368:

回复 Seven Han:

GPAGMUX2 的位写入之前有什么要求吗? 为什么置相应位的值,结果不变。GpioCtrlRegs.GPBGMUX2.bit.GPIO60 = 3;//使用SPIACLK 功能GpioCtrlRegs.GPBGMUX2.bit.GPIO61 = 3;//使用SPIASTE功能

哪位大神知道GPAGMUX2和GPAMUX2有什么区别?

Jordan Zhou:

回复 user4329368:

Ellow和EDIS。
GPIO的控制寄存器是写保护的。

哪位大神知道GPAGMUX2和GPAMUX2有什么区别?

user4329368:

回复 Jordan Zhou:

对的。

赞(0)
未经允许不得转载:TI中文支持网 » GPAGMUX2和GPAMUX2有什么区别?
分享到: 更多 (0)