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.

[参考译文] DK-TM4C123G:TM4C123G

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1116360/dk-tm4c123g-tm4c123g

器件型号:DK-TM4C123G

大家好、

以下是客户提出的问题、可能需要您的帮助:

解锁 PF0需要以下三行、但不清楚如何写入解锁:

  HWREG (GPIO_PORTF_BASE + GPIO_LO_LOCK)= GPIO_LOCK_KEY;

   HWREG (GPIO_PORTF_BASE + GPIO_O_CR)|= 0x01;

   HWREG (GPIO_PORTF_BASE + GPIO_LO_LOCK)= 0;

您可以帮助检查此案例吗? 谢谢。

此致、

樱桃