TsctlPinModeSetDesc

From embeddedTS Manuals

This function sets the mode of the specified PinNumber to the specified Mode.

Available modes include MODE_DIO, MODE_CAN, MODE_SPI, MODE_ADC, MODE_TWI, MODE_UART, MODE_TS, MODE_BUS, MODE_PWM, and MODE_CLK, although most of these are usually not applicable.