diff options
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r-- | libmaple/libmaple.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h index 02e27d3..4f9a71a 100644 --- a/libmaple/libmaple.h +++ b/libmaple/libmaple.h @@ -61,6 +61,9 @@ /* Number of USART ports */ #define NR_USART 3 + /* Number of ADCs */ + #define NR_ADCS 2 + /* Has an FSMC bus? */ #define NR_FSMC 0 @@ -109,6 +112,7 @@ #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_ADCS 3 #define NR_FSMC 1 #define NR_DAC_PINS 2 @@ -147,6 +151,7 @@ #define NR_BKP_REGS 10 /* TODO test on Mini */ #define NR_TIMERS 4 #define NR_USART 3 + #define NR_ADCS 2 #define NR_FSMC 0 #define NR_DAC_PINS 0 |