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.
