X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Fcortex-m3%2Fio%2Fsam3_nvic.h;h=7b8d6eab44263d0d2d3448d9c02dedea7c3ad45a;hb=184eb78acf4a1923b62b197235a1ea3dca45af08;hp=0ac366c2e7f2aaad23abe45666b7612376ab3a1b;hpb=9a9bb767d984876ff35a9fba379f46f57a07236c;p=bertos.git diff --git a/bertos/cpu/cortex-m3/io/sam3_nvic.h b/bertos/cpu/cortex-m3/io/sam3_nvic.h index 0ac366c2..7b8d6eab 100644 --- a/bertos/cpu/cortex-m3/io/sam3_nvic.h +++ b/bertos/cpu/cortex-m3/io/sam3_nvic.h @@ -30,7 +30,14 @@ * * --> * - * \brief AT91SAM3 NVIC hardware. + * \brief Atmel SAM3 NVIC hardware. + * + * This file does not follow the BeRTOS AT91 register naming convention, + * because the NVIC subsystem is in common with other Cortex-M3 ports. + * Take care when using bit definition macros, they don't define bit numbers + * but values, i.e. you must not use BV(). Moreover register names have + * the _R suffix and offsets don't have the _OFF one. + * Someday we will fix this incoherence... */ #ifndef SAM3_NVIC_H