forked from logzhan/RobotHardware-UESTC
Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
詹力 | a50a6187b5 |
|
@ -160,6 +160,15 @@ void USART3_IRQHandler(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void USART1_IRQHandler(void)
|
||||||
|
{
|
||||||
|
if (USART_GetITStatus(USART1, USART_IT_RXNE) != RESET)
|
||||||
|
{
|
||||||
|
USART_ReceiveData(USART1);
|
||||||
|
USART_ClearITPendingBit(USART1,USART_IT_RXNE); //clear interrupt flag
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* STM32F10x Peripherals Interrupt Handlers */
|
/* STM32F10x Peripherals Interrupt Handlers */
|
||||||
/* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
|
/* Add here the Interrupt Handler for the used peripheral(s) (PPP), for the */
|
||||||
|
|
Loading…
Reference in New Issue