| | |
| | | { |
| | | /* USER CODE BEGIN TIM6_IRQn 0 */ |
| | | if (LL_TIM_IsActiveFlag_UPDATE(TIM6)) { LL_TIM_ClearFlag_UPDATE(TIM6);} |
| | | |
| | | KMem.WDB[130]++; |
| | | // KMem.SDD[46]+=1000; |
| | | // KMem.SDT[93] = LL_TIM_GetCounter(TIM6); |
| | | /* USER CODE END TIM6_IRQn 0 */ |
| | |
| | | /* USER CODE END TIM6_IRQn 1 */ |
| | | } |
| | | |
| | | /** |
| | | * @brief This function handles TIM6 global interrupt. |
| | | */ |
| | | void TIM16_IRQHandler(void) |
| | | { |
| | | /* USER CODE BEGIN TIM6_IRQn 0 */ |
| | | if (LL_TIM_IsActiveFlag_UPDATE(TIM16)) { LL_TIM_ClearFlag_UPDATE(TIM16);} |
| | | KMem.WDB[132]++; |
| | | // KMem.SDD[46]+=1000; |
| | | // KMem.SDT[93] = LL_TIM_GetCounter(TIM6); |
| | | /* USER CODE END TIM6_IRQn 0 */ |
| | | /* USER CODE BEGIN TIM6_IRQn 1 */ |
| | | |
| | | /* USER CODE END TIM6_IRQn 1 */ |
| | | } |
| | | /** |
| | | * @brief This function handles DMA1 channel 2 and 3 interrupts. |
| | | */ |
| | |
| | | // PushOne(&Uart1Stat.QRx,ch); |
| | | Uart1Stat.RecvBytes++; |
| | | |
| | | Uart1RecvBuf1[Uart1RecvBuf1DataLen]=ch; |
| | | if (Uart1RecvBuf1DataLen < Uart1RecvBufSize -1 ) {Uart1RecvBuf1DataLen++;} |
| | | Uart1RxBuf1[Uart1RxBuf1DataLen]=ch; |
| | | if (Uart1RxBuf1DataLen < Uart1RxBufSize -1 ) {Uart1RxBuf1DataLen++;} |
| | | //LL_USART_TransmitData8(USART1,ch); |
| | | } |
| | | if (LL_USART_IsActiveFlag_ORE(USART1)) |