Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of MODDMA by
Revision 18:2aa6ffab5522, committed 2013-08-02
- Comitter:
- avbotz
- Date:
- Fri Aug 02 02:21:55 2013 +0000
- Parent:
- 17:97a16bf2ff43
- Commit message:
- Initial commit. Not working. MODDMA makes DMA setup slow, and the mbed SPI peripheral corrupts data sometimes. I will write my own SPI and DMA classes and see how it goes.
Changed in this revision
| MODDMA.h | Show annotated file Show diff for this revision Revisions of this file |
| SETUP.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MODDMA.h Sat Mar 02 19:27:12 2013 +0000
+++ b/MODDMA.h Fri Aug 02 02:21:55 2013 +0000
@@ -34,7 +34,7 @@
/** @defgroup INTERNALS MODSERIAL Internals */
#include "mbed.h"
-#include "iomacros.h"
+#include "IOMacros.h"
namespace AjK {
--- a/SETUP.cpp Sat Mar 02 19:27:12 2013 +0000
+++ b/SETUP.cpp Fri Aug 02 02:21:55 2013 +0000
@@ -66,7 +66,7 @@
// Assign physical source
pChannel->DMACCSrcAddr = config->srcMemAddr();
// Assign peripheral destination address
- pChannel->DMACCDestAddr = (uint32_t)LUTPerAddr(config->dstConn());
+ pChannel->DMACCDestAddr = /*(uint32_t)&LPC_SSP0->DR;*/(uint32_t)LUTPerAddr(config->dstConn());
pChannel->DMACCControl
= CxControl_TransferSize((uint32_t)config->transferSize())
| CxControl_SBSize((uint32_t)LUTPerBurst(config->dstConn()))
