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.
想请教一个关于MSP430的GPIO的引脚复用的问题。在430的gpio.c的库函数中,有一个引脚复用的API叫做“GPIO_setAsPeripheralModuleFunctionInputPin()”,想请教一下,假如说我需要配置一对串口,假设是P4.3和P4.4,那么对应的配置代码就是
GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P4, GPIO_PIN3 + GPIO_PIN4, GPIO_PRIMARY_MODULE_FUNCTION);
file:///C:/ti/msp/MSP430Ware_3_80_14_01/driverlib/doc/MSP430FR5xx_6xx/html/group__gpio__api.html#ga13f6c6a83d81877266af538314998db9
Modified bits of PxDIR register and bits of PxSEL register.
zhcsja6b_MSP430FR604x、MSP430FR504x 16MHz MCU 高达 64KB FRAM,12 位高速 8-MSPS Σ-Δ ADC 和集成传感器 AFE datasheet (Rev. B)第122页9.14.16 Port P4 (P4.1 to P4.7) Input/Output With Schmitt Trigger: