STM32 串口中断方式例程
STM32串口中断方式例程/*----------------------------------------------------------------------------USART1_IRQHandlerHandlesUSART1globalinterruptrequest.*----------------------------------------------------------------------------*/voidUSART1_IRQHandler(void){volatileunsignedintIIR;structbuf_st*p;IIR=USAR