@startuml

class SerialPort
namespace stm32 {
class Usart
.SerialPort <|-- Usart
.ClockedPeripheral <|-- Usart
}
@enduml