AnsweredAssumed Answered

Any difference between UART STAT and INTSTAT when reading interrupt flags??

Question asked by Joseph Dupre on Jan 23, 2017
Latest reply on Jun 2, 2019 by ali karakaş

The UARTS in the LPC15xx have both a STAT and an INTSTAT register.

Is there any difference in reading a UART's STAT register vs. INTSTAT?


Put another way, if an interrupt flag bit is set in INTSTAT will it always be set in STAT also?


Is there any reason to use INTSTAT instead of STAT in an ISR?  (Understanding that INTSTAT is read only and may include bits that are not interrupt flags.)