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.

MSP430FR5969-SP: How to map primary, secondary, ternary module functions

Part Number: MSP430FR5969-SP

I am looking at an msp430_driverlib_2_91_13_01 | MSP430FR5xx_6xx example file called eusci_a_uart_ex1_loopbackAdvanced.c. It makes the following call to configure the UART pins:

// Set P2.0 and P2.1 as Secondary Module Function Input
/*
* Select Port 2d
* Set Pin 0, 1 to input Secondary Module Function, (UCA0TXD/UCA0SIMO, UCA0RXD/UCA0SOMI).
*/
GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P2,GPIO_PIN0 + GPIO_PIN1,GPIO_SECONDARY_MODULE_FUNCTION);

I have two questions:

1. Presumably, this function configures one UART pin as an input (Rx) and one as an output (Tx), but the function
name says that you are configuring a pin as an input. Does the GPIO_SECONDARY_MODULE_FUNCTION function parameter
somehow magically configure the Tx pin as an output, in spite of the function's name?

2. I can't find anything in the TI documentation or driverlib source code that identifies what the primary,
secondary and ternary module functions are for any peripheral module. I have checked the MSP430FR59xx
data sheet, user guide and driverlib manuals. I have found (so far) four user forum pages where MSP430 customers
are asking this same question. Lots of people are in the discussions, but no one knows the answer and TI hasn't
posted any answers on these pages that I have found. Could TI please provide the mapping of primary,
secondary and ternary module functions are for all peripheral modules? 

**Attention** This is a public forum