further testing, shcematic improvements
This commit is contained in:
@@ -57,6 +57,8 @@
|
||||
/* External variables --------------------------------------------------------*/
|
||||
extern DMA_HandleTypeDef hdma_adc3;
|
||||
extern DMA_HandleTypeDef hdma_adc4;
|
||||
extern COMP_HandleTypeDef hcomp5;
|
||||
extern COMP_HandleTypeDef hcomp7;
|
||||
extern TIM_HandleTypeDef htim1;
|
||||
/* USER CODE BEGIN EV */
|
||||
|
||||
@@ -284,6 +286,34 @@ void TIM1_CC_IRQHandler(void)
|
||||
/* USER CODE END TIM1_CC_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles COMP4, COMP5 and COMP6 interrupts through EXTI lines 30, 31 and 32.
|
||||
*/
|
||||
void COMP4_5_6_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN COMP4_5_6_IRQn 0 */
|
||||
|
||||
/* USER CODE END COMP4_5_6_IRQn 0 */
|
||||
HAL_COMP_IRQHandler(&hcomp5);
|
||||
/* USER CODE BEGIN COMP4_5_6_IRQn 1 */
|
||||
|
||||
/* USER CODE END COMP4_5_6_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles COMP7 interrupt through EXTI line 33.
|
||||
*/
|
||||
void COMP7_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN COMP7_IRQn 0 */
|
||||
|
||||
/* USER CODE END COMP7_IRQn 0 */
|
||||
HAL_COMP_IRQHandler(&hcomp7);
|
||||
/* USER CODE BEGIN COMP7_IRQn 1 */
|
||||
|
||||
/* USER CODE END COMP7_IRQn 1 */
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
Reference in New Issue
Block a user