在例程中,我将ROM_SysCtlClockSet()改为SysCtlClockSet(),编译也通过,其他API函数好像也可以这么修改,有ROM前缀和没有,对程序来说有什么区别呢?
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.
在例程中,我将ROM_SysCtlClockSet()改为SysCtlClockSet(),编译也通过,其他API函数好像也可以这么修改,有ROM前缀和没有,对程序来说有什么区别呢?
功能上是没有区别的。
前缀为ROM的函数是在芯片的ROM中的。芯片的ROM中集成了Bootloader,外设驱动库等。
没有前缀的,Load后程序是存在片上Flash中的。