X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fio%2Fat91_mc.h;h=735bc4102003fee30c2a13514f0d03f33b3be59e;hb=911d2706a86d326786bfe721dcc3d63aeade7f28;hp=fbae705e80332e7347ca4759cf2bf9b446563642;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git 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.