summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/sam3u/sam3u_hsmci.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-07 03:00:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-07 03:00:34 +0000
commitdbcd8d0405401b1d295a515cc165dacaeaf88f30 (patch)
tree27f45d162fcb904397206a8f4e14b65e859b200d /nuttx/arch/arm/src/sam3u/sam3u_hsmci.h
parente48b94c16b0771e91cdb16d2da6c89c3f768bbbb (diff)
downloadpx4-nuttx-dbcd8d0405401b1d295a515cc165dacaeaf88f30.tar.gz
px4-nuttx-dbcd8d0405401b1d295a515cc165dacaeaf88f30.tar.bz2
px4-nuttx-dbcd8d0405401b1d295a515cc165dacaeaf88f30.zip
Update clock logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2576 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/sam3u/sam3u_hsmci.h')
-rwxr-xr-xnuttx/arch/arm/src/sam3u/sam3u_hsmci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/sam3u/sam3u_hsmci.h b/nuttx/arch/arm/src/sam3u/sam3u_hsmci.h
index 0088cd2e5..c86be289f 100755
--- a/nuttx/arch/arm/src/sam3u/sam3u_hsmci.h
+++ b/nuttx/arch/arm/src/sam3u/sam3u_hsmci.h
@@ -121,6 +121,7 @@
#define HSMCI_MR_CLKDIV_MASK (0xff << HSMCI_MR_CLKDIV_SHIFT)
#define HSMCI_MR_PWSDIV_SHIFT (8) /* Bits 8-10: Power Saving Divider */
#define HSMCI_MR_PWSDIV_MASK (7 << HSMCI_MR_PWSDIV_SHIFT)
+# define HSMCI_MR_PWSDIV_MAX (7 << HSMCI_MR_PWSDIV_SHIFT)
#define HSMCI_MR_RDPROOF (1 << 11) /* Bit 11: Read Proof Enable */
#define HSMCI_MR_WRPROOF (1 << 12) /* Bit 12: Write Proof Enable */
#define HSMCI_MR_FBYTE (1 << 13) /* Bit 13: Force Byte Transfer */