aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r--libmaple/libmaple.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index 225d7c4..dbc77a4 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -52,6 +52,9 @@
/* Total number of GPIO pins */
#define NR_GPIO_PINS 39
+ /* Number of 16-bit backup registers */
+ #define NR_BKP_REGS 10
+
/* Number of timer devices ports, definitely used */
#define NR_TIMERS 4
@@ -103,6 +106,7 @@
#define NR_GPIO_PORTS 7
#define NR_GPIO_PINS 100
+ #define NR_BKP_REGS 42 /* TODO test on Native */
#define NR_TIMERS 8
#define NR_USART 5 /* NB: 4 and 5 are UART only */
#define NR_FSMC 1
@@ -140,6 +144,7 @@
#define NR_GPIO_PORTS 3
#define NR_GPIO_PINS 34
+ #define NR_BKP_REGS 10 /* TODO test on Mini */
#define NR_TIMERS 4
#define NR_USART 3
#define NR_FSMC 0