2010-11-19 07:50 PM
stm32f103vct6 uart4,no recieving interrupt,plz help me!
2011-05-17 05:15 AM
void ISR_UART4(void)
{
u16 u16RecvData = 0;
if( USART_GetITStatus(UART4,USART_IT_TXE))
{
USART_ClearITPendingBit(UART4, USART_IT_TXE);
}
if( USART_GetITStatus(UART4,USART_IT_RXNE))
{
USART_ClearITPendingBit(UART4, USART_IT_RXNE);
u16RecvData = USART_ReceiveData(UART4);
}
}
2011-05-17 05:15 AM
Can you post interrupt handler code?
2011-05-17 05:15 AM