[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] hw/avr: Start using the Clock API
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/5] hw/avr: Start using the Clock API |
Date: |
Fri, 14 Aug 2020 18:39:19 +0200 |
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
- [PATCH 0/5] hw/avr: Start using the Clock API,
Philippe Mathieu-Daudé <=
- [PATCH 1/5] hw/avr/atmega: Introduce the I/O clock, Philippe Mathieu-Daudé, 2020/08/14
- [PATCH 2/5] hw/timer/avr_timer16: Use the Clock API, Philippe Mathieu-Daudé, 2020/08/14
- [PATCH 3/5] hw/char/avr_usart: Restrict register definitions to source, Philippe Mathieu-Daudé, 2020/08/14
- [PATCH 4/5] hw/char/avr_usart: Use the Clock API, Philippe Mathieu-Daudé, 2020/08/14
- [PATCH 5/5] hw/char/avr_usart: Trace baudrate changes, Philippe Mathieu-Daudé, 2020/08/14
- Re: [PATCH 0/5] hw/avr: Start using the Clock API, Michael Rolnik, 2020/08/26