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.

MSP430G2553的IO端口寄存器的配置问题

Other Parts Discussed in Thread: MSP430G2553

对于MSP430G2553的IO端口寄存器,我有些疑问,尤其是对于P1SEL和P1SEL2这两个寄存器的配置不太清楚,数据手册上有对这两个寄存器的描述,但是还是不太明白,下面截图是来自数据手册上的说明:

这个图上说的第一外设模块功能和第二外设模块功能分别是指什么?例如对于管脚P1.2来说,它有P1.2/TA0.1/UCA0TXD/UCA0SIMO/A2/CA2这么多功能,我怎么根据自己要用的功能来配置P1SEL和P1SEL2这两个寄存器呢?到网上查找了很多资料,都没找到对每个IO管脚功能的详细配置说明!