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.

[参考译文] 编译器/MSP430FR2311:我能否同时写入和读取各自引脚的同一端口?

Guru**** 2539690 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/584000/compiler-msp430fr2311-can-i-write-and-read-port-same-port-of-respective-pin-same-time

部件号:MSP430FR2311

工具/软件:TI C/C++编译器

DS

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的,可以将引脚设置为输出(PxDIR.y),写出(PxOUT.y),然后仍从其他端口引脚(PxIN)读取输入值。 但是,输出引脚的输入值无效,但如果需要,您可以读取输出状态。

    此致,
    Ryan