10379| 16
|
FLASH读取半字函数问题 |
1金钱
最佳答案faddr为0X00000004,把0X00000004看成一个地址,对STM32来说在这个地址上只存储了1byte的数据,强制类型转换为u16型地址,那么将从0X00000004和0X00000005处取出2byte数据组成一个u16型数据。
那么0X00000004 、0X00000005、0X00000006和0X00000007取出4byte则可以组成一个u32型数据
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-2-27 03:04
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网