STSW-STLKT01: Projects/SensorTile/Applications/DataLog/Src/stm32l4xx_hal_msp.c Source File

STSW-STLKT01

stm32l4xx_hal_msp.c
Go to the documentation of this file.
1 
38 /* Includes ------------------------------------------------------------------*/
39 #include "main.h"
40 
41 /* Private typedef -----------------------------------------------------------*/
42 /* Private define ------------------------------------------------------------*/
43 /* Private macro -------------------------------------------------------------*/
44 /* Private variables ---------------------------------------------------------*/
45 /* Private function prototypes -----------------------------------------------*/
46 /* Private functions ---------------------------------------------------------*/
47 
56 void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim)
57 {
58  /* TIM1 Peripheral clock enable */
59  __HAL_RCC_TIM1_CLK_ENABLE();
60 
61  /* Enable TIM1 global Interrupt & set priority */
62  HAL_NVIC_SetPriority(TIM1_CC_IRQn, 9, 0);
63  HAL_NVIC_EnableIRQ(TIM1_CC_IRQn);
64 }
65 
66 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim)
TIM OC MSP Initialization This function configures the hardware resources used in this example: ...
Generated by   doxygen 1.8.13