请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP430FR5994 你(们)好
我想使用提供的 API 函数将 MSP430FR5994的 P2.0引脚设置为 ACLK。 但在标头定义中仅适用于
#define GPIO_PRIMARY_MODULE_FUNCTION (0x01)
请建议使用 GPIO_setAssPeripheralModuleFunctionOutputPin()实现相同的方法。
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.
你(们)好
我想使用提供的 API 函数将 MSP430FR5994的 P2.0引脚设置为 ACLK。 但在标头定义中仅适用于
#define GPIO_PRIMARY_MODULE_FUNCTION (0x01)
请建议使用 GPIO_setAssPeripheralModuleFunctionOutputPin()实现相同的方法。
您好、George、
GPIO_setAssPeripheralModuleFunctionOutputPin()具有与 GPIO_setAssPeripheralModuleFunctionInputPin()相同的参数。 它们都具有模式参数:
#define GPIO_PRIMARY_MODULE_FUNCTION (0x01)
谢谢、
Lixin