Fixed address variable in C

前端 未结 10 1092
迷失自我
迷失自我 2020-12-01 12:47

For embedded applications, it is often necessary to access fixed memory locations for peripheral registers. The standard way I have found to do this is something like the f

10条回答
  •  庸人自扰
    2020-12-01 13:28

    Typically these addresses are beyond the reach of your process. So, your linker wouldn't dare put stuff there.

提交回复
热议问题