会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
中庭之园
博客园
首页
新随笔
联系
管理
2022年3月19日
32位int和8位字符数组互相转换
摘要: 在学习STM32的Flash读写时,遇到需要把uint32_t类型的长度数据存储在Flash中,而现有的Flash写入函数需要读取uint8_t的字符数组。 用8位数组以小端模式存储 #include <iostream> using namespace std; int main() { unsi
阅读全文
posted @ 2022-03-19 15:39 中庭之园
阅读(1746)
评论(0)
推荐(0)
编辑
公告