Contiki 2.5
Data Fields
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

uint8_t dma_config_t::addr_mode

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.

uint8_t dma_config_t::dst_h

dest. address high byte

Definition at line 87 of file dma.h.

uint8_t dma_config_t::dst_l

dest. address low byte

Definition at line 88 of file dma.h.

uint8_t dma_config_t::len_h

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

Definition at line 89 of file dma.h.

uint8_t dma_config_t::len_l

length low byte

Definition at line 90 of file dma.h.

uint8_t dma_config_t::src_h

source address high byte

Definition at line 85 of file dma.h.

uint8_t dma_config_t::src_l

source address low byte

Definition at line 86 of file dma.h.

uint8_t dma_config_t::t_mode

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

Definition at line 91 of file dma.h.