blob: 985b94130b3483376613386ab3bd5e9c16ea54f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/**
* @brief General STM32 specific definitions
*/
#ifndef _STM32_H_
#define _STM32_H_
#ifndef PCLK1
#define PCLK1 36000000U
#endif
#ifndef PCLK2
#define PCLK2 72000000U
#endif
#ifdef STM32_MEDIUM_DENSITY
#define NR_INTERRUPTS 43
#else
#ifdef STM32_HIGH_DENSITY
#define NR_INTERRUPTS 60
#else
#error "No STM32 board type defined!"
#endif
#endif
#endif
|