Last change
on this file since 341 was
248,
checked in by meunier, 12 years ago
|
Updates in the soft_filter application (bug corrections, formatting, and adaptation to the architecture generic_mmu)
|
File size:
589 bytes
|
Rev | Line | |
---|
[158] | 1 | #ifndef DMA_REGS_H |
---|
| 2 | #define DMA_REGS_H |
---|
| 3 | |
---|
| 4 | enum SoCLibDmaRegisters { |
---|
| 5 | DMA_SRC = 0, |
---|
| 6 | DMA_DST = 1, |
---|
| 7 | DMA_LEN = 2, |
---|
| 8 | DMA_RESET = 3, |
---|
| 9 | DMA_IRQ_DISABLE = 4, |
---|
| 10 | /***/ |
---|
[248] | 11 | DMA_SPAN = 0x400, |
---|
[158] | 12 | }; |
---|
| 13 | |
---|
| 14 | enum DmaStatusValues { |
---|
[248] | 15 | DMA_SUCCESS = 0, |
---|
| 16 | DMA_READ_ERROR = 1, |
---|
| 17 | DMA_IDLE = 2, |
---|
[158] | 18 | DMA_WRITE_ERROR = 3, |
---|
| 19 | }; |
---|
| 20 | |
---|
| 21 | #endif |
---|
| 22 | |
---|
| 23 | // Local Variables: |
---|
| 24 | // tab-width: 4; |
---|
| 25 | // c-basic-offset: 4; |
---|
| 26 | // c-file-offsets:((innamespace . 0)(inline-open . 0)); |
---|
| 27 | // indent-tabs-mode: nil; |
---|
| 28 | // End: |
---|
| 29 | // |
---|
| 30 | // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.