Wixel SDK
Data Fields
DMA_CONFIG Struct Reference

#include <cc2511_map.h>

Data Fields

unsigned char SRCADDRH
unsigned char SRCADDRL
unsigned char DESTADDRH
unsigned char DESTADDRL
unsigned char VLEN_LENH
unsigned char LENL
unsigned char DC6
unsigned char DC7

Detailed Description

This struct represents the configuration of a single DMA channel. See the "DMA Controller" section of the CC2511F32 datasheet for information on how to use this struct and DMA in general.

Also see dma.h.

NOTE: You won't find DC6 or DC7 in the datasheet, the names of those bytes were invented for this struct.

Definition at line 379 of file cc2511_map.h.

Field Documentation

unsigned char DC6

Bit 7 is WORDSIZE, Bits 6:5 are TMODE, Bits 4:0 are TRIG.

Definition at line 391 of file cc2511_map.h.

unsigned char DC7

Bits 7:6 are SRCINC, 5:4 are DESTINC, 3 is IRQMASK, 2 is M8, 1:0 are PRIORITY.

Definition at line 394 of file cc2511_map.h.

unsigned char VLEN_LENH

Bits 7:5 are VLEN, bits 4:0 are LEN[12:8]

Definition at line 387 of file cc2511_map.h.

The documentation for this struct was generated from the following file: