diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-27 15:29:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-27 15:29:53 +0000 |
commit | a9445ee1dde0305c7ea03ff1c74447a6e4f53a98 (patch) | |
tree | ef6f6626dbdbf7939d763ff9c2b6bf019b85126f /nuttx/arch/arm/src | |
parent | 71edd43b4ed83fbb8b5d6cf84e6ce1bd3ea289ad (diff) | |
download | px4-nuttx-a9445ee1dde0305c7ea03ff1c74447a6e4f53a98.tar.gz px4-nuttx-a9445ee1dde0305c7ea03ff1c74447a6e4f53a98.tar.bz2 px4-nuttx-a9445ee1dde0305c7ea03ff1c74447a6e4f53a98.zip |
Definitions for ARMv7-M AIRCR register, Fixes for ADS7843 and SSD1289 driver, Missing build logic for examples/watchdog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5198 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r-- | nuttx/arch/arm/src/armv7-m/nvic.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/armv7-m/nvic.h b/nuttx/arch/arm/src/armv7-m/nvic.h index 1d30c5f7c..ae56118c9 100644 --- a/nuttx/arch/arm/src/armv7-m/nvic.h +++ b/nuttx/arch/arm/src/armv7-m/nvic.h @@ -500,6 +500,14 @@ #define NVIC_SYSHCON_BUSFAULTENA (1 << 17) /* Bit 17: BusFault enabled */ #define NVIC_SYSHCON_USGFAULTENA (1 << 18) /* Bit 18: UsageFault enabled */ +/* Application Interrupt and Reset Control Register (AIRCR) */ + /* Bit 0: Reserved */ +#define NVIC_AIRC_VECTCLRACTIVE (1 << 1) /* Bit 1: Reserved for debug use */ +#define NVIC_AIRC_SYSRESETREQ (1 << 2) /* Bit 2: System reset */ + /* Bits 3-14: Reserved */ +#define NVIC_AIRC_ENDIANNESS (1 << 15) /* Bit 15: 1=Big endian */ + /* Bits 16-31: Reserved */ + /* Debug Exception and Monitor Control Register (DEMCR) */ #define NVIC_DEMCR_VCCORERESET (1 << 0) /* Bit 0: Reset Vector Catch */ |