Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Error "USART_IT_RXNE" (1 Replies)

$
0
0
My application receive data in usart1 through interrupt. I generated the files in STM32CubeMX for MDK-ARM. This error appears in the compilation: ../Src/stm32f1xx_it.c(193): Error: # 20: identifier "USART_IT_RXNE" is undefined. How do I solve this? Ronaldo Martins code: Void USART1_IRQHandler (void) { If (USART_GetITStatus (USART1, USART_IT_RXNE)! = RESET) // enter interrupt when STM32 receice data. { USART_Temp_Data = USART_ReceiveData (USART1); } }

Viewing all articles
Browse latest Browse all 3049

Trending Articles