F28M35中的 GPIOAPSEL 寄存器干嘛用的,不是有GPIOPCTL和GPIOAFSEL就可以选择外设嘛,干嘛有弄出来一个 GPIOAPSEL.
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.
F28M35中的 GPIOAPSEL 寄存器干嘛用的,不是有GPIOPCTL和GPIOAFSEL就可以选择外设嘛,干嘛有弄出来一个 GPIOAPSEL.
选择哪个核控制 GPIO 应该是 GPIOCSEL 寄存器,而不是 GPIOAPSEL 寄存器。
关于 GPIOAPSEL 寄存器的描述应该是这个样子:
4.1.6.18 GPIO Alternate Peripheral Select (GPIOAPSEL) Register, offset 0x530
The GPIOAPSEL register is used to access the M3 GPIO alternate peripheral muxing options. When
these bits are set, values of 0x0 - 0xF are valid values in the GPIOPCTL PMCx bit fields. See Table 4-1
for alternate muxing options.