This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-core-4.1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix for (long) destinationBuffer TCD->ATTR_DST
Was set for 16 bit size.
teensy4-core
duff2013
10 years ago
parent
bc0ae6d62f
commit
034393e0ad
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
teensy3/DMAChannel.h
+ 1
- 1
teensy3/DMAChannel.h
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save