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.

[参考译文] MSP430FR5994:使用 TI API 访问主要、次要、三元模块函数以外的函数

Guru**** 2564090 points
Other Parts Discussed in Thread: MSP430FR5994

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/980633/msp430fr5994-accessing-functions-other-than-primary-secondary-ternary-module-functions-using-ti-api

器件型号:MSP430FR5994

你(们)好

我想使用提供的 API 函数将 MSP430FR5994的 P2.0引脚设置为 ACLK。 但在标头定义中仅适用于

 #define GPIO_PRIMARY_MODULE_FUNCTION (0x01)

97 #define GPIO_secondary 模块功能(0x02)
98 #define GPIO_ternary_module_function (0x03)

请建议使用 GPIO_setAssPeripheralModuleFunctionOutputPin()实现相同的方法