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.

[参考译文] 编译器/TM4C129ENCPDT:EEPROMRead 奇怪

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/599024/compiler-tm4c129encpdt-eepromread-strange

器件型号:TM4C129ENCPDT

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

您好!

我想将代码用作

uint32_t puDaten[3];
ROM_EEPROMRead (puDaten、Telnet_PWD_MEM_ADDR、12/4); 

但这不起作用、因为我在 ROM_EEPROMRead 中具有参数12/4。 如果我将其更改为3、这将起作用。

我是否错过了某个东西或它是否是一个错误?

此致

Michael

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    很抱歉、忘记这个帖子。 必须是32位对齐。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的、感谢您发表您的答案、以便他人受益。