Crate pl011_drv

Source
Expand description

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.

Modules§

detail
Implementation details for register block.
interrupt
Interrupts

Macros§

create_uart
Create a new UART

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