请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:RM57L843 主题中讨论的其他器件:HALCOGEN
您好!
我们希望使用 Mibspi4 Nena 引脚作为 GIO。
我们需要在 Nena 引脚上生成中断。
请建议一个解决方案如何将 Nena 引脚配置为 GIO 和中断?
谢谢、
Aditya
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.
您好、Aditya、
所有 SPI 引脚均可通过 SPIPCx 控制寄存器编程为功能 I/O 引脚或通用 I/O 引脚。
SPIPC0用于将 SPI 引脚配置为功能引脚或 GIO 引脚
SPIPC1用于将方向(输入或输出)配置为 GIO 引脚
3.其他 SPIPCx 寄存器用于控制数据输入和数据输出、拉动类型等
HALCoGen 生成的 GIO API 也可用于 SPI 引脚(GIO 模式)。