[En-Nut-Discussion] Designing Interfaces, e.g. DMA

Ulrich Prinz ulrich.prinz at googlemail.com
Tue Jul 3 11:51:40 CEST 2012


Hi Harald

most interest for DMA is on driver side, sure, but with Cortex chips
DMA can be used for memcopy too again. But this is manufacturer
specific, I think. So it works with STM but must not work with ATMEL.

If I remember correctly, in earlier times DMA was almost unused in
Nut/OS at all. As DMA is thought to be complicated we should make the
interface easy to show that this isn't true.
And yes, we should make it configureable as it needs power if it is
activated. So on battery applications it makes a difference if DMA is
enabled alle the time or only if it is needed.

Ulrich

2012/7/3 Harald Kipp <harald.kipp at egnite.de>:
> Hi Ulrich,
> Hi Uwe,
>
> On 02.07.2012 22:00, Ulrich Prinz wrote:
>> Am 29.06.2012 11:20, schrieb Uwe Bonnes:
>>> void DMA_Enable(uint8_t ch);
>>> void DMA_Disable(uint8_t ch);
>
> I'm still not very familiar with LPC and STM32 chips. Still I'm wondering, who would want to enable or disable DMA.
>
> Are these functions usable by application code or are they just for drivers?
>
> Regards,
>
> Harald
>
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion


More information about the En-Nut-Discussion mailing list