X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fsam3_pmc.h;h=b0801c3d193a03e2466b9960148978397418b074;hb=89ed880270068f4e28bad0d98020c2902a41fd92;hp=b44a3f50192d7acfe29f721daf98fbcc181c1976;hpb=c796e2e7baf75175e4c14311f0aa0080d7f65862;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/sam3_pmc.h b/bertos/cpu/cortex-m3/io/sam3_pmc.h index b44a3f50..b0801c3d 100644 --- a/bertos/cpu/cortex-m3/io/sam3_pmc.h +++ b/bertos/cpu/cortex-m3/io/sam3_pmc.h @@ -30,14 +30,18 @@ * * --> * - * \brief AT91SAM3 PMC hardware. + * \brief SAM3 PMC hardware. */ #ifndef SAM3_PMC_H #define SAM3_PMC_H /** PMC registers base. */ -#define PMC_BASE 0x400E0400 +#if CPU_CM3_SAM3X + #define PMC_BASE 0x400E0600 +#else + #define PMC_BASE 0x400E0400 +#endif /** * PMC register offsets.