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.

28027launchpad GPIO口控制问题

Other Parts Discussed in Thread: CONTROLSUITE

请问工程师们,28027launchpad 引出的IO口有18个脚,我怎么样才能通过一个16进制比如0xFF同时控制8个GPIO口?就像51单片机一样

  • 请参考一下controlsuite里的GPIO例程,注意,F28027的GPIO是GPIO0~31在同一组里,所以如果是同一组的话,最多可以同时32个控制,最少一个,但如果不在同一组,则必须分两次控制。如GpioDataRegs.GPBSET.all      =0x00000005;