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.

DSP 28335可以实现这个GPIO的在线配置吗?

比如在程序段时,判断某一个条件让这个GPIO0为输入,当另一个条件成立时让这个GPIO0为输出,那么在程序中反复对GPIO0进行配置是否可行?

一般应用中,一个GPIO往往要么做为输入,要么做为输出。要么做为第三功能,那么我想在程序中编写就是让这个GPIO在线的配置成输入输出,这样的话,能实现吗?