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 模式)。
您好、Wang、
我已配置为 ENA 引脚作为 GIO。
但现在的问题是、我想在 ENA 引脚上生成下降沿中断。
那么、如何将其配置为下降沿中断?
谢谢
-Aditya
您好、 Aditya、
ENA 输入(GIO)不能生成中断。