Skip to content

Commit

Permalink
Added definitions for cc2530 DMA-related SFR bits
Browse files Browse the repository at this point in the history
  • Loading branch information
g-oikonomou committed Sep 20, 2012
1 parent 3b0e921 commit fde1510
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions cpu/cc253x/sfr-bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,28 @@
#define PICTL_P1ICONH 0x04
#define PICTL_P1ICONL 0x02
#define PICTL_P0ICON 0x01

/* DMAARM */
#define DMAARM_ABORT 0x80
#define DMAARM_DMAARM4 0x10
#define DMAARM_DMAARM3 0x08
#define DMAARM_DMAARM2 0x04
#define DMAARM_DMAARM1 0x02
#define DMAARM_DMAARM0 0x01

/* DMAREQ */
#define DMAREQ_DMAREQ4 0x10
#define DMAREQ_DMAREQ3 0x08
#define DMAREQ_DMAREQ2 0x04
#define DMAREQ_DMAREQ1 0x02
#define DMAREQ_DMAREQ0 0x01

/* DMAIRQ */
#define DMAIRQ_DMAIF4 0x10
#define DMAIRQ_DMAIF3 0x08
#define DMAIRQ_DMAIF2 0x04
#define DMAIRQ_DMAIF1 0x02
#define DMAIRQ_DMAIF0 0x01
/*---------------------------------------------------------------------------
* XREG bits, excluding RF and USB
*---------------------------------------------------------------------------*/
Expand Down

0 comments on commit fde1510

Please sign in to comment.