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 |
| ) |
|
◆ __attribute__()
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:{
uint8_t ioread8(volatile uint8_t *io_addr)
Read byte from I/O-mapped or memory-mapped device.
static unsigned int address
Definition at line 23 of file ns16550.h.
◆ data
Initial value:{
static unsigned int address
void iowrite8(uint8_t data, volatile uint8_t *io_addr)
Write byte to I/O-mapped or memory-mapped device.
static unsigned int uint8_t data
Definition at line 24 of file ns16550.h.