how to disable RX interrupt temporarily
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-08-21 1:59 AM
#if I2C_ENABLE
USART_ClearITPendingBit(USART1, USART_IT_RXNE);
USART_ITConfig(USART1, USART_IT_RXNE, DISABLE);
p_write = (uint8_t *)&temp100;
sEE_WriteBuffer(p_write, write_addr, 2);
USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);
printf("i2c write done\n");
#endif
does not work well
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
