- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

# include/dmac/dmaca.h

Go to the documentation of this file.

    00001
    00041 #ifndef DMAC_DMACA_H_INCLUDED
    00042 #define DMAC_DMACA_H_INCLUDED
    00043
    00044 struct dma_controller;
    00045 struct dmac_channel;
    00046 enum dmac_periph_id;
    00047
    00048 extern struct dma_controller dmaca_controller;
    00049
    00050 extern struct dmac_channel *dmaca_alloc_channel(struct dma_controller *dmac,
    00051                 enum dmac_periph_id rx_periph, enum dmac_periph_id tx_periph,
    00052                 phys_addr_t rx_reg_addr, phys_addr_t tx_reg_addr);
    00053 extern void dmaca_free_channel(struct dma_controller *dmac,
    00054                 struct dmac_channel *dch);
    00055
    00056 extern void dmaca_init(void);
    00057
    00058 #endif /* DMAC_DMACA_H_INCLUDED */