浏览代码

Merge pull request #26 from duff2013/master

fix for (long) destinationBuffer  TCD->ATTR_DST
teensy4-core
Paul Stoffregen 10 年前
父节点
当前提交
4c0c189a49
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      teensy3/DMAChannel.h

+ 1
- 1
teensy3/DMAChannel.h 查看文件

@@ -216,7 +216,7 @@ public:
void destinationBuffer(volatile unsigned long p[], unsigned int len) {
TCD->DADDR = p;
TCD->DOFF = 4;
TCD->ATTR_DST = 1;
TCD->ATTR_DST = 2;
TCD->NBYTES = 4;
TCD->DLASTSGA = -len;
TCD->BITER = len / 4;

正在加载...
取消
保存