关于 STM32 DMA 寄存器的位操作 测试不行? 其它外设可以用!

[复制链接]
5756|21
 楼主| aaron238 发表于 2009-5-15 11:44 | 显示全部楼层

那我在测试下

barboon 发表于 2009-5-15 12:02 | 显示全部楼层

你仔细看一下参考手册的相关部分

2.3.2 Bit banding

Writing to a word in the alias region has the same effect as a read-modify-write operation on the targeted bit in
the bit-band region.

这就要求对bit-banding的操作以32位为单位

我测试过修改以后,功能正常

如果仍然有问题,可能需要在其他地方找找原因。比如你说程序死了,到底是怎么死了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 在线客服 返回列表 返回顶部