Rev 30 | Rev 36 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 30 | Rev 33 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | /* USER CODE BEGIN 0 */ |
38 | /* USER CODE BEGIN 0 */ |
39 | 39 | ||
40 | /* USER CODE END 0 */ |
40 | /* USER CODE END 0 */ |
41 | 41 | ||
42 | /* External variables --------------------------------------------------------*/ |
42 | /* External variables --------------------------------------------------------*/ |
- | 43 | extern UART_HandleTypeDef huart1; |
|
- | 44 | extern UART_HandleTypeDef huart2; |
|
- | 45 | extern UART_HandleTypeDef huart3; |
|
43 | 46 | ||
44 | /******************************************************************************/ |
47 | /******************************************************************************/ |
45 | /* Cortex-M3 Processor Interruption and Exception Handlers */ |
48 | /* Cortex-M3 Processor Interruption and Exception Handlers */ |
46 | /******************************************************************************/ |
49 | /******************************************************************************/ |
47 | 50 | ||
Line 181... | Line 184... | ||
181 | /* Add here the Interrupt Handlers for the used peripherals. */ |
184 | /* Add here the Interrupt Handlers for the used peripherals. */ |
182 | /* For the available peripheral interrupt handler names, */ |
185 | /* For the available peripheral interrupt handler names, */ |
183 | /* please refer to the startup file (startup_stm32l1xx.s). */ |
186 | /* please refer to the startup file (startup_stm32l1xx.s). */ |
184 | /******************************************************************************/ |
187 | /******************************************************************************/ |
185 | 188 | ||
- | 189 | /** |
|
- | 190 | * @brief This function handles USART1 global interrupt. |
|
- | 191 | */ |
|
- | 192 | void USART1_IRQHandler(void) |
|
- | 193 | { |
|
- | 194 | /* USER CODE BEGIN USART1_IRQn 0 */ |
|
- | 195 | ||
- | 196 | /* USER CODE END USART1_IRQn 0 */ |
|
- | 197 | HAL_UART_IRQHandler(&huart1); |
|
- | 198 | /* USER CODE BEGIN USART1_IRQn 1 */ |
|
- | 199 | ||
- | 200 | /* USER CODE END USART1_IRQn 1 */ |
|
- | 201 | } |
|
- | 202 | ||
- | 203 | /** |
|
- | 204 | * @brief This function handles USART2 global interrupt. |
|
- | 205 | */ |
|
- | 206 | void USART2_IRQHandler(void) |
|
- | 207 | { |
|
- | 208 | /* USER CODE BEGIN USART2_IRQn 0 */ |
|
- | 209 | ||
- | 210 | /* USER CODE END USART2_IRQn 0 */ |
|
- | 211 | HAL_UART_IRQHandler(&huart2); |
|
- | 212 | /* USER CODE BEGIN USART2_IRQn 1 */ |
|
- | 213 | ||
- | 214 | /* USER CODE END USART2_IRQn 1 */ |
|
- | 215 | } |
|
- | 216 | ||
- | 217 | /** |
|
- | 218 | * @brief This function handles USART3 global interrupt. |
|
- | 219 | */ |
|
- | 220 | void USART3_IRQHandler(void) |
|
- | 221 | { |
|
- | 222 | /* USER CODE BEGIN USART3_IRQn 0 */ |
|
- | 223 | ||
- | 224 | /* USER CODE END USART3_IRQn 0 */ |
|
- | 225 | HAL_UART_IRQHandler(&huart3); |
|
- | 226 | /* USER CODE BEGIN USART3_IRQn 1 */ |
|
- | 227 | ||
- | 228 | /* USER CODE END USART3_IRQn 1 */ |
|
- | 229 | } |
|
- | 230 | ||
186 | /* USER CODE BEGIN 1 */ |
231 | /* USER CODE BEGIN 1 */ |
187 | 232 | ||
188 | /* USER CODE END 1 */ |
233 | /* USER CODE END 1 */ |
189 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
234 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |