16550-compatible UART
More...
#include <stdint.h>
#include <ipxe/io.h>
Go to the source code of this file.
16550-compatible UART
Definition in file ns16550.h.
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL | | ) |
|
◆ FILE_SECBOOT()
| FILE_SECBOOT |
( |
PERMITTED | | ) |
|
◆ __attribute__()
| __attribute__ |
( |
(always_inline) | | ) |
|
|
inlinestatic |
Write to UART register.
Read from UART register.
- Parameters
-
| ns16550 | 16550 UART |
| address | Register address |
| data | Data |
| ns16550 | 16550 UART |
| address | Register address |
- Return values
-
◆ address
Initial value:{
uint64_t address
Base address.
Definition at line 24 of file ns16550.h.
◆ data
Initial value:{
uint8_t data[48]
Additional event data.
#define iowrite8(data, io_addr)
Definition at line 25 of file ns16550.h.