mirror of https://github.com/ARMmbed/mbed-os.git
STM32F0/F1/L0 - Update TIM_MST_GET_PCLK_FREQ macro
parent
16239f5ed5
commit
ae858b4323
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue