STM32F0/F1/L0 - Update TIM_MST_GET_PCLK_FREQ macro

pull/3213/head
bcostm 2016-10-26 10:53:41 +02:00
parent 16239f5ed5
commit ae858b4323
15 changed files with 15 additions and 15 deletions

View File

@ -52,7 +52,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -52,7 +52,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -49,7 +49,7 @@ extern "C" {
#define TIM_MST_RESET_ON __TIM2_FORCE_RESET()
#define TIM_MST_RESET_OFF __TIM2_RELEASE_RESET()
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -49,7 +49,7 @@ extern "C" {
#define TIM_MST_RESET_ON __TIM2_FORCE_RESET()
#define TIM_MST_RESET_OFF __TIM2_RELEASE_RESET()
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -52,7 +52,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -49,7 +49,7 @@
#define TIM_MST_RESET_ON __TIM2_FORCE_RESET()
#define TIM_MST_RESET_OFF __TIM2_RELEASE_RESET()
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -49,7 +49,7 @@
#define TIM_MST_RESET_ON __TIM2_FORCE_RESET()
#define TIM_MST_RESET_OFF __TIM2_RELEASE_RESET()
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK1Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms

View File

@ -51,7 +51,7 @@
#define TIM_MST_16BIT 1 // A 16-bit timer is used
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2
#define TIM_MST_GET_PCLK_FREQ HAL_RCC_GetPCLK2Freq()
#define HAL_TICK_DELAY (1000) // 1 ms