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.

[参考译文] MSP430F2274-EP:PxDIR GPIO 方向寄存器的作用范围?

Guru**** 2513195 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1057719/msp430f2274-ep-the-scope-of-the-pxdir-gpio-direction-register

器件型号:MSP430F2274-EP

PxDIR 寄存器是仅用于 GPIO 模块功能、还是在选择非 GPIO 功能来设置必要的引脚方向时必须与 PxSEL2和 PxSEL 寄存器配合使用?

换句话说、通过 PxSEL2和 PxSEL 寄存器选择引脚功能是否也会设置引脚的方向?

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

    否:

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

    谢谢-这就是我所期望的。

    因此、不应将 PxDIR 引脚方向寄存器称为 PxDIR GPIO 方向寄存器。