From 6e090ccee16582f0c152c95238753562732788e3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 2 Nov 2010 02:02:21 +0100 Subject: Initial USB device stack for STM32. Patch provided by Gareth McMullin , thanks a lot! --- include/libopenstm32/scb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libopenstm32/scb.h') diff --git a/include/libopenstm32/scb.h b/include/libopenstm32/scb.h index 17d892f..44d7d23 100644 --- a/include/libopenstm32/scb.h +++ b/include/libopenstm32/scb.h @@ -122,6 +122,7 @@ /* VECTKEYSTAT[31:16]/ VECTKEY[31:16] Register key */ #define SCB_AIRCR_VECTKEYSTAT_LSB 16 +#define SCB_AIRCR_VECTKEY 0x05FA0000 /* ENDIANESS Data endianness bit */ #define SCB_AIRCR_ENDIANESS (1 << 15) /* Bits [14:11]: reserved - must be kept cleared */ @@ -291,6 +292,8 @@ /* BFAR [31:0]: Bus fault address */ /* --- SCB functions ------------------------------------------------------- */ +void scb_reset_core(void); +void scb_reset_system(void); /* TODO: */ -- cgit v1.2.3