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.

CC1310: 当一引脚被分配然后被取消分配后,是什么状态

Part Number: CC1310

在tirtos_cc13xx_cc26xx_setupwin32_2_21_01_08版本的SDK中,我在例程的CC1310_LAUNCHXL.c中看到如下注释:

/*
 *  ========================= IO driver initialization =========================
 *  From main, PIN_init(BoardGpioInitTable) should be called to setup safe
 *  settings for this board.
 *  When a pin is allocated and then de-allocated, it will revert to the state
 *  configured in this table.
 */
我有以下疑问:
首先,在在uartCC26XXHWAttrs结构体中将DIO4设置为串口的TX脚。
随后,在BoardGpioInitTable中将DIO4设置为输入上拉模式,并且在main函数中,执行了PIN_init(BoardGpioInitTable)动作。
然后开启串口并发送数据。数据发送完成后将串口关闭,此时DIO4是不是会自动恢复到上拉输入模式?