[][src]Crate pl011_qemu

Driver for the pl011 UARTs in the QEMU implementation

This crate provides basic drivers for the UARTS exposed by QEMU. You can see the implementation of these uarts here

The QEMU target actually exposes 4 different UARTS, that can each be redirected to arbitary character devices or files. This crate allows those UARTS to be accessed in order to support more complicated use cases than can be provided by cortex_m_semihosting.

Structs

Error

Error type necessary for embedded_hal usage. No errors supported

PL011

Struct representing the actual driver.

PL011_Regs

Struct representing PL011 registers. Not intended to be directly used

Rx

Represents read half of UART.

Tx

Represents write half of UART

UART1

Hardware Singleton for UART1

UART2

Hardware Singleton for UART2

UART3

Hardware Singleton for UART3

UART4

Hardware Singleton for UART4