MODDMA GPDMA Controller New features: transfer pins to memory buffer under periodic timer control and send double buffers to DAC
Dependents: FirstTest WaveSim IO-dma-memmem DACDMAfuncgenlib ... more
Revision 9:e7ecf909e834, committed 2011-03-08
- Comitter:
- AjK
- Date:
- Tue Mar 08 17:47:43 2011 +0000
- Parent:
- 8:cb4d323ce6fd
- Child:
- 10:3a46c1e383a4
- Commit message:
- 1.6 See ChangeLoh.c
Changed in this revision
ChangeLog.c | Show annotated file Show diff for this revision Revisions of this file |
example2.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ChangeLog.c Sat Feb 05 08:53:26 2011 +0000 +++ b/ChangeLog.c Tue Mar 08 17:47:43 2011 +0000 @@ -1,5 +1,10 @@ /* $Id:$ +1.6 - 8 Mar 2011 + + * Fixed a typo bug. Reported by Wim van der Vegt + http://mbed.org/forum/mbed/topic/1798/?page=1#comment-9845 + 1.5 - 5 Feb 2011 * Found a bug in the NXP library that I had copied over.
--- a/example2.cpp Sat Feb 05 08:53:26 2011 +0000 +++ b/example2.cpp Tue Mar 08 17:47:43 2011 +0000 @@ -40,7 +40,7 @@ // Power up the ADC and set PCLK LPC_SC->PCONP |= (1UL << 12); - LPC_SC->PCLKSEL0 &= ~(3UL << 16); // PCLK = CCLK/4 96M/4 = 24MHz + LPC_SC->PCLKSEL0 &= ~(3UL << 24); // PCLK = CCLK/4 96M/4 = 24MHz // Enable the ADC, 12MHz, ADC0.0 & .1 LPC_ADC->ADCR = (1UL << 21) | (1UL << 8) | (3UL << 0);