Make it possible to subscribe to DMA events.

This commit is contained in:
nvt-se 2007-08-16 13:51:57 +00:00
parent 2780aef873
commit 0723f1fbc7
2 changed files with 42 additions and 17 deletions

View file

@ -28,12 +28,18 @@
*
* This file is part of the Contiki operating system.
*
* $Id: dma.h,v 1.3 2007/07/05 08:35:13 nvt-se Exp $
* $Id: dma.h,v 1.4 2007/08/16 13:51:57 nvt-se Exp $
*/
#ifndef DMA_H
#define DMA_H
#define DMA_LINES 2
void dma_init(void);
int dma_subscribe(int, struct process *);
void dma_transfer(unsigned char *, unsigned);
extern process_event_t dma_event;
#endif