Rev 33 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 33 | Rev 36 | ||
|---|---|---|---|
| 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; |
- | |
| 46 | 43 | ||
| 47 | /******************************************************************************/ |
44 | /******************************************************************************/ |
| 48 | /* Cortex-M3 Processor Interruption and Exception Handlers */ |
45 | /* Cortex-M3 Processor Interruption and Exception Handlers */ |
| 49 | /******************************************************************************/ |
46 | /******************************************************************************/ |
| 50 | 47 | ||
| Line 184... | Line 181... | ||
| 184 | /* Add here the Interrupt Handlers for the used peripherals. */ |
181 | /* Add here the Interrupt Handlers for the used peripherals. */ |
| 185 | /* For the available peripheral interrupt handler names, */ |
182 | /* For the available peripheral interrupt handler names, */ |
| 186 | /* please refer to the startup file (startup_stm32l1xx.s). */ |
183 | /* please refer to the startup file (startup_stm32l1xx.s). */ |
| 187 | /******************************************************************************/ |
184 | /******************************************************************************/ |
| 188 | 185 | ||
| 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 | - | ||
| 231 | /* USER CODE BEGIN 1 */ |
186 | /* USER CODE BEGIN 1 */ |
| 232 | 187 | ||
| 233 | /* USER CODE END 1 */ |
188 | /* USER CODE END 1 */ |
| 234 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
189 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |