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 中也将 UART 用作 GPIO。
谢谢。此致、
Abhaya Raj Mishra
您好!
因此、引脚首先配置为 UART 功能。 然后、您需要将引脚功能更改为 GPIO。 是这样吗? 可以调用 DL_GPIO_initDigitalOutput ()来将引脚设置回 GPIO 输出函数。 然后您可以调用 DL_GPIO_initPeripheralOutputFunction ()和 DL_GPIO_initPeripheralInputFunction 将引脚重新配置为 UART 功能。 当引脚配置回 UART 功能时,可能需要调用 SYSCFG_DL_UART_0_init ()。
此致、
现金豪