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.

5509A 如何将EMIF.A[13:0]配置为GPIO接口?



如题,

按Data Sheet上的要求,已经将External Bus Selection Register上的Parallel Port Mode bit配置为00(或01)。如何配置接口寄存器,包括使能,设置输入或输出。

API是哪个?

我尝试了

......

GPIO_FSET(AGPIOEN,IO8,1);  //使能
GPIO_FSET(AGPIODIR,IO8DIR,1);  //设置方向为输出

......

但是调试没有成功,请问这两个API使用的正确吗?