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.

TM4C129xnczad中 GPIO与AHB GPIO有什么区别,为什么要分两种?

在看库文件的时候对于port的地址有两个,一个是GPIO_PORTA_BASE ,一个是GPIO_PORTA_AHB_BASE。在数据手册中描述gpio的寄存器时,只写出了AHB相关的地址。

不晓得为什么要分两种,这两者有什么区别,AHB gpio一般用在什么场合。

谢谢。

  • 一个是挂在AHB总线上的,一个是挂在APB总线上的,挂在AHB总线上的速度肯定快,至于快的速度,手册上有讲的。一般的话,用APB就足够了。