Skip to content

Commit 51000a3

Browse files
bcostmadbridge
authored andcommitted
Update hal_tick files
1 parent 702320a commit 51000a3

File tree

2 files changed

+4
-142
lines changed

2 files changed

+4
-142
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/hal_tick.c

Lines changed: 0 additions & 142 deletions
This file was deleted.

targets/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F412ZG/device/hal_tick.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
#define TIM_MST_RESET_ON __TIM5_FORCE_RESET()
5050
#define TIM_MST_RESET_OFF __TIM5_RELEASE_RESET()
5151

52+
#define TIM_MST_16BIT 0 // 1=16-bit timer, 0=32-bit timer
53+
54+
#define TIM_MST_PCLK 1 // Select the peripheral clock number (1 or 2)
55+
5256
#define HAL_TICK_DELAY (1000) // 1 ms
5357

5458
#ifdef __cplusplus

0 commit comments

Comments
 (0)