From: aleph Date: Tue, 10 May 2011 16:25:46 +0000 (+0000) Subject: sam3 SMC definitions, add bit position for one field X-Git-Tag: 2.7.0~80 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=3c488dd19e226a2860495b492a523327b29758a1;p=bertos.git sam3 SMC definitions, add bit position for one field git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4886 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/io/sam3_smc.h b/bertos/cpu/cortex-m3/io/sam3_smc.h index 1e74d01e..8998d836 100644 --- a/bertos/cpu/cortex-m3/io/sam3_smc.h +++ b/bertos/cpu/cortex-m3/io/sam3_smc.h @@ -218,6 +218,7 @@ #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