From 1a270a00a630cfce94f0569eefa92060f0e26749 Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 2 Apr 2010 10:01:25 +0000 Subject: [PATCH] AT91SAM7: add FMCN shifts. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3380 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/io/at91_mc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bertos/cpu/arm/io/at91_mc.h b/bertos/cpu/arm/io/at91_mc.h index fbae705e..735bc410 100644 --- a/bertos/cpu/arm/io/at91_mc.h +++ b/bertos/cpu/arm/io/at91_mc.h @@ -109,6 +109,7 @@ #define MC_FWS_3R4W 0x00000200 ///< 3 cycles for read, 4 for write operations. #define MC_FWS_4R4W 0x00000300 ///< 4 cycles for read and write operations. #define MC_FMCN_MASK 0x00FF0000 ///< Flash microsecond cycle number mask. +#define MC_FMCN_SHIFT 16 ///< Flash microsecond cycle number shift. #define MC_FCR_OFF 0x00000064 ///< MC flash command register offset. #define MC_FCR (*((reg32_t *)(MC_BASE + MC_FCR_OFF))) ///< MC flash command register address. -- 2.25.1