#include "precomp.h"
Go to the source code of this file.
◆ UART_PL011_CR
◆ UART_PL011_CR_RXE
#define UART_PL011_CR_RXE 0x200 |
◆ UART_PL011_CR_TXE
#define UART_PL011_CR_TXE 0x100 |
◆ UART_PL011_CR_UARTEN
#define UART_PL011_CR_UARTEN 0x01 |
◆ UART_PL011_FBRD
◆ UART_PL011_IBRD
◆ UART_PL011_IMSC
◆ UART_PL011_LCRH
◆ UART_PL011_LCRH_FEN
#define UART_PL011_LCRH_FEN 0x10 |
◆ UART_PL011_LCRH_WLEN_8
#define UART_PL011_LCRH_WLEN_8 0x60 |
◆ UART_PL01x_DR
◆ UART_PL01x_ECR
◆ UART_PL01x_FR
◆ UART_PL01x_FR_RXFE
#define UART_PL01x_FR_RXFE 0x10 |
◆ UART_PL01x_FR_TXFF
#define UART_PL01x_FR_TXFF 0x20 |
◆ UART_PL01x_RSR
◆ LlbHwGetUartBase()
Definition at line 101 of file hwuart.c.
102{
104 {
105 return 0x101F1000;
106 }
108 {
109 return 0x101F2000;
110 }
111
112 return 0;
113}
◆ LlbHwUartSendChar()
Definition at line 85 of file hwuart.c.
86{
87
89}
#define WRITE_REGISTER_ULONG(r, v)
◆ LlbHwUartTxReady()
Definition at line 93 of file hwuart.c.
94{
95
97}
#define READ_REGISTER_ULONG(r)
#define UART_PL01x_FR_TXFF
◆ LlbHwVersaUartInitialize()
Definition at line 49 of file hwuart.c.
50{
52
53
55 Baudrate = 115200;
56
57
58 Divider = ClockRate / (16 * Baudrate);
60
61
62 Fraction = (8 *
Remainder / Baudrate) >> 1;
63 Fraction += (8 *
Remainder / Baudrate) & 1;
64
65
67
68
71
72
75
76
81}
ULONG NTAPI LlbHwGetPClk(VOID)
#define UART_PL011_LCRH_FEN
#define UART_PL011_CR_RXE
#define UART_PL011_LCRH_WLEN_8
#define UART_PL011_CR_TXE
#define UART_PL011_CR_UARTEN
_In_ LARGE_INTEGER _Out_opt_ PLARGE_INTEGER Remainder
Referenced by LlbHwInitialize().
◆ LlbHwVersaUartBase