#ifndef DMA_REGS_H
#define DMA_REGS_H

enum SoCLibDmaRegisters {
    DMA_SRC         = 0,
    DMA_DST         = 1,
    DMA_LEN         = 2,
    DMA_RESET       = 3,
    DMA_IRQ_DISABLE = 4,
    /***/
    DMA_SPAN        = 0x400,
};

enum DmaStatusValues {
    DMA_SUCCESS     = 0,
    DMA_READ_ERROR  = 1,
    DMA_IDLE        = 2,
    DMA_WRITE_ERROR = 3,
};

#endif

// Local Variables:
// tab-width: 4;
// c-basic-offset: 4;
// c-file-offsets:((innamespace . 0)(inline-open . 0));
// indent-tabs-mode: nil;
// End:
//
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4

