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.

CC2642R: 关于GPIO初始化问题

Part Number: CC2642R

您好!

有个疑惑,为什么GPIO会初始化两次?

在程序启动的地方,进行过GPIO初始化,初始化的Table可以在 .syscfg文件中修改。

但是实际用GPIO的地方,会对它再次初始化

另外实际测试发现,有的GPIO不在 Board_initGeneral()函数列表里,也可以模仿 Board_initKeys() 的方法进行调用。

那么这个 Board_initGeneral()-> pin_init() 这个函数的意义在哪,不需要前置初始化,后续初始化也可以使用。