dma_config_t Struct Reference

DMA configuration structure. More...

#include <cpu/cc2430/dev/dma.h>

Data Fields

uint8_t src_h
uint8_t src_l
uint8_t dst_h
uint8_t dst_l
uint8_t len_h
uint8_t len_l
uint8_t t_mode
uint8_t addr_mode

Detailed Description

DMA configuration structure.

Definition at line 83 of file dma.h.


Field Documentation

address mode: 7-6=src inc, 5-4=dst_inc, 3=IRQ, 2=M8(vlen) 1-0:priority

Definition at line 92 of file dma.h.

dest. address high byte

Definition at line 87 of file dma.h.

dest. address low byte

Definition at line 88 of file dma.h.

transfer mode in high 3 bits, length high byte, 4 lowest bits

Definition at line 89 of file dma.h.

length low byte

Definition at line 90 of file dma.h.

source address high byte

Definition at line 85 of file dma.h.

source address low byte

Definition at line 86 of file dma.h.

transfer mode: bit7=word mode, 6-5=block/single 4-0=trigger

Definition at line 91 of file dma.h.


Generated on Mon Apr 11 14:23:58 2011 for Contiki 2.5 by  doxygen 1.6.1