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.

[参考译文] RM57L843:如何将 Nena 引脚配置为 GIO

Guru**** 2035740 points
Other Parts Discussed in Thread: HALCOGEN
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/959343/rm57l843-how-to-configure-nena-pin-as-gio

器件型号:RM57L843
主题中讨论的其他器件:HALCOGEN

您好!

我们希望使用 Mibspi4 Nena 引脚作为 GIO。  

我们需要在 Nena 引脚上生成中断。

请建议一个解决方案如何将 Nena 引脚配置为 GIO 和中断?

谢谢、

Aditya

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、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)不能生成中断。