This provides a method to obtain a device unique ID number.
Signed-off-by: Robin Gilham <robin.gilham@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5181
38d2e660-2303-0410-9eaa-
f027e97ec537
#define FLASH_BASE (0x40022000)
/* Flash Option Bytes base address */
#define OB_BASE (0x1FFFF800)
#define FLASH_BASE (0x40022000)
/* Flash Option Bytes base address */
#define OB_BASE (0x1FFFF800)
+/* Device ID register */
+#define DEVICE_ID_BASE (0x1FFFF7E8)
/* Peripheral memory map */
#define APB1PERIPH_BASE (PERIPH_BASE)
/* Peripheral memory map */
#define APB1PERIPH_BASE (PERIPH_BASE)