qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] hw/char/stm32f2xx_usart: improve TXE/TC bit han


From: Richard Braun
Subject: Re: [Qemu-devel] [PATCH] hw/char/stm32f2xx_usart: improve TXE/TC bit handling
Date: Fri, 9 Feb 2018 10:35:58 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Feb 09, 2018 at 10:23:13AM +0100, Richard Braun wrote:
> On Thu, Feb 08, 2018 at 02:58:29PM +0000, Peter Maydell wrote:
> > The guest can clear the TC and TXE bits by writing to the USART_SR
> > directly, so this code should set both of them, I think ?
> 
> Right, nice catch.

Although, after reading the manual again, TXE is actually read-only and
only set by hardware.

-- 
Richard Braun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]