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.

CCS/MSP432P4111: GPIO Peripheral Module Function Initialization.

Part Number: MSP432P4111

Tool/software: Code Composer Studio

Hi, the above inserted image is a part of code from SimpleLink MSP432P4 SDK example uart_loopback_24mhz_brclk. 

GPIO_PORT_P3 ,GPIO_PIN2  (P3.2/UCA2RXD) is the RX pin, so it is an INPUT to MCU and it initialized as GPIO_setAsPeripheralModuleFunctionInputPin . 

GPIO_PORT_P3 ,GPIO_PIN3 (P3.3/UCA2TXD) is the TX pin of the MCU, is it an OUTPUT pin of the MCU ?. If it is an output PIn Why we are initializing it as GPIO_setAsPeripheralModuleFunctionInputPin?

Similarly, on the initialization of SCL, SDA pins, and SIMO SOMI CLK pins, I stuck with the above-mentioned doubt.