close

unsigned addr;

*(volatile UINT32 *) addr = 0xff;

指的是對mem 位置addr的地方 assign 值0xff

其實這樣assign有風險

因為只assign了1byte

UINT32有4bytes


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 jpsix 的頭像
    jpsix

    地瓜粥在讀書

    jpsix 發表在 痞客邦 留言(0) 人氣()