sam3 SMC definitions, add bit position for one field
authoraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 10 May 2011 16:25:46 +0000 (16:25 +0000)
committeraleph <aleph@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 10 May 2011 16:25:46 +0000 (16:25 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4886 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cpu/cortex-m3/io/sam3_smc.h

index 1e74d01eeacccdac39733c529ab1b9fd4836c511..8998d8364e2801a5376d6f9b25cbed3f4777d912 100644 (file)
 #define NFC_CMD_CMD1           (0xFF <<  2)  ///< Command Register Value for Cycle 1
 #define NFC_CMD_CMD2           (0xFF << 10)  ///< Command Register Value for Cycle 2
 #define NFC_CMD_VCMD2          BV(18)        ///< Valid Cycle 2 Command
+#define NFC_CMD_ACYCLE_SHIFT   19
 #define NFC_CMD_ACYCLE_MASK    (0x7 << 19)   ///< Number of Address required for the current command
 #define NFC_CMD_ACYCLE_NONE    (0x0 << 19)   ///< No address cycle
 #define NFC_CMD_ACYCLE_ONE     (0x1 << 19)   ///< One address cycle