diff options
Diffstat (limited to 'testhal/STM32F1xx/RTC')
-rw-r--r-- | testhal/STM32F1xx/RTC/main.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/testhal/STM32F1xx/RTC/main.h b/testhal/STM32F1xx/RTC/main.h deleted file mode 100644 index 31bd85a76..000000000 --- a/testhal/STM32F1xx/RTC/main.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef MAIN_H_
-#define MAIN_H_
-
-/******************************************************************
- * глобальные флаги
- ******************************************************************/
-/* надо ли фильтровать данные с датчиков */
-#define GET_FILTERED_DATA TRUE
-
-/* включить стрессовое тестирование */
-#define ENABLE_IRQ_STORM FALSE
-
-// usefull macros
-#define WATCHDOG_INIT {\
- DBGMCU->CR |= DBGMCU_CR_DBG_IWDG_STOP; /* stop watchdog timer in debugging mode */\
- IWDG->KR = 0x5555;/*unlock PR register*/\
- IWDG->PR = 16;/*set 1.6384s timeout*/\
- IWDG->KR = 0xCCCC;/*start watchdog*/}
-
-#define WATCHDOG_RELOAD {IWDG->KR = 0xAAAA;}
-
-
-#endif /* MAIN_H_ */
|