Tested-by: Michael Rolnik <mrol...@gmail.com> On Fri, Aug 14, 2020 at 7:39 PM Philippe Mathieu-Daudé <f4...@amsat.org> wrote:
> In this series we slowly start to use the recently added > Clock API in the AVR ATmega MCU. > > As the Clock Control Unit is not yet modelled, we simply > connect the XTAL sink to the UART and Timer sources. > > Philippe Mathieu-Daudé (5): > hw/avr/atmega: Introduce the I/O clock > hw/timer/avr_timer16: Use the Clock API > hw/char/avr_usart: Restrict register definitions to source > hw/char/avr_usart: Use the Clock API > hw/char/avr_usart: Trace baudrate changes > > hw/avr/atmega.h | 2 ++ > include/hw/char/avr_usart.h | 32 ++--------------------- > include/hw/timer/avr_timer16.h | 3 ++- > hw/avr/atmega.c | 8 ++++-- > hw/char/avr_usart.c | 46 ++++++++++++++++++++++++++++++++++ > hw/timer/avr_timer16.c | 12 +++------ > hw/char/trace-events | 3 +++ > 7 files changed, 65 insertions(+), 41 deletions(-) > > -- > 2.21.3 > > -- Best Regards, Michael Rolnik