在SPI设计得过程,我需要将原本为SPI通信得PICO引脚,由外设模式更改为GPIO模式参考MSPM0系列得参考手册,发现需要操作GSEL寄存器,但我在官方得Demo程序中并没有找到对应得寄存器。
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.
在SPI设计得过程,我需要将原本为SPI通信得PICO引脚,由外设模式更改为GPIO模式参考MSPM0系列得参考手册,发现需要操作GSEL寄存器,但我在官方得Demo程序中并没有找到对应得寄存器。
此函数使您能够将 PICO 配置为 GPIO:
DL_GPIO_initDigitalInputFeatures(uint32_t pincmIndex, DL_GPIO_INVERSION inversion, DL_GPIO_RESISTOR internalResistor, DL_GPIO_HYSTERESIS hysteresis, DL_GPIO_WAKEUP wakeup)