123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
-
- #ifndef STM32F1_HAL_LOWLEVEL_H
- #define STM32F1_HAL_LOWLEVEL_H
- #if !defined (HSE_VALUE)
- #define HSE_VALUE (7384600U)
- #endif
- #if !defined (HSE_STARTUP_TIMEOUT)
- #define HSE_STARTUP_TIMEOUT (100U)
- #endif
- #if !defined (HSI_VALUE)
- #define HSI_VALUE (16000000U)
- #endif
- #if !defined (LSE_VALUE)
- #define LSE_VALUE (32768U)
- #endif
- #if !defined (LSE_STARTUP_TIMEOUT)
- #define LSE_STARTUP_TIMEOUT (5000U)
- #endif
- #if !defined (EXTERNAL_CLOCK_VALUE)
- #define EXTERNAL_CLOCK_VALUE (12288000U)
- #endif
- #define VDD_VALUE (3300U)
- #define TICK_INT_PRIORITY (0x0FU)
- #define USE_RTOS 0U
- #define PREFETCH_ENABLE 0U
- #define INSTRUCTION_CACHE_ENABLE 1U
- #define DATA_CACHE_ENABLE 1U
- #include "stm32f1xx.h"
- #endif
|