This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32中的GPIOx(A~I)模式寄存器为什么偏移量都一样?

上图是参考手册中的,可以看到GPIOA~GPIOI的模式寄存器偏移值都是0x00,

那么该如何引用不同端口组的模式寄存器呢?是直接使用GPIOA_MODER来引用?

Parents Reply Children