summaryrefslogtreecommitdiff
path: root/src/flash/stm32x.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:41:13 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:41:13 +0000
commitaea6815462d3302f7f8b6576f59320d5f5985642 (patch)
tree24db5c404a4568beabe33487235dc2befd1e0421 /src/flash/stm32x.h
parent0e2c2fe1d1eec5482078147d551215a58604cc3a (diff)
downloadopenocd+libswd-aea6815462d3302f7f8b6576f59320d5f5985642.tar.gz
openocd+libswd-aea6815462d3302f7f8b6576f59320d5f5985642.tar.bz2
openocd+libswd-aea6815462d3302f7f8b6576f59320d5f5985642.tar.xz
openocd+libswd-aea6815462d3302f7f8b6576f59320d5f5985642.zip
- Fixes '<<' whitespace
- Replace ')\(<<\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(<<\)(' with '\1 \2 ('. - Replace '\(\w\)\(<<\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2370 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/stm32x.h')
-rw-r--r--src/flash/stm32x.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/flash/stm32x.h b/src/flash/stm32x.h
index 1b4c2d7d..51114667 100644
--- a/src/flash/stm32x.h
+++ b/src/flash/stm32x.h
@@ -64,21 +64,21 @@ typedef struct stm32x_flash_bank_s
/* FLASH_CR register bits */
-#define FLASH_PG (1<<0)
-#define FLASH_PER (1<<1)
-#define FLASH_MER (1<<2)
-#define FLASH_OPTPG (1<<4)
-#define FLASH_OPTER (1<<5)
-#define FLASH_STRT (1<<6)
-#define FLASH_LOCK (1<<7)
-#define FLASH_OPTWRE (1<<9)
+#define FLASH_PG (1 << 0)
+#define FLASH_PER (1 << 1)
+#define FLASH_MER (1 << 2)
+#define FLASH_OPTPG (1 << 4)
+#define FLASH_OPTER (1 << 5)
+#define FLASH_STRT (1 << 6)
+#define FLASH_LOCK (1 << 7)
+#define FLASH_OPTWRE (1 << 9)
/* FLASH_SR register bits */
-#define FLASH_BSY (1<<0)
-#define FLASH_PGERR (1<<2)
-#define FLASH_WRPRTERR (1<<4)
-#define FLASH_EOP (1<<5)
+#define FLASH_BSY (1 << 0)
+#define FLASH_PGERR (1 << 2)
+#define FLASH_WRPRTERR (1 << 4)
+#define FLASH_EOP (1 << 5)
/* STM32_FLASH_OBR bit definitions (reading) */