|
AquilaOS documentation
How it works, and its code
|
A serial port. More...
#include <uart.h>
Data Fields | |
| char * | name |
| struct ringbuf * | in |
| struct ringbuf * | out |
| struct tty * | tty |
| struct vnode * | vnode |
| struct waitq | read_queue |
| struct waitq | write_queue |
| void(*) | init (struct uart *u) |
| ssize_t(*) | transmit (struct uart *u, char c) |
| char(*) | receive (struct uart *u) |
| struct ringbuf* uart::in |
Definition at line 20 of file uart.h.
Referenced by uart_can_read(), uart_input_flush(), uart_read(), uart_setup(), and uart_slave_write().
| void(*) uart::init(struct uart *u) |
Definition at line 31 of file uart.h.
Referenced by uart_8250_attach(), and uart_setup().
| char* uart::name |
Definition at line 18 of file uart.h.
Referenced by uart_8250_attach(), and uart_register().
| struct ringbuf* uart::out |
Definition at line 21 of file uart.h.
Referenced by uart_master_write(), uart_setup(), and uart_transmit_handler().
| struct waitq uart::read_queue |
Definition at line 28 of file uart.h.
Referenced by uart_file_open(), and uart_receive_handler().
| char(*) uart::receive(struct uart *u) |
Definition at line 33 of file uart.h.
Referenced by uart_8250_attach(), and uart_receive_handler().
Definition at line 32 of file uart.h.
Referenced by uart_8250_attach(), and uart_transmit_handler().
| struct tty* uart::tty |
Definition at line 23 of file uart.h.
Referenced by pl011_irq(), uart_8250_irq(), uart_can_read(), uart_file_eof(), uart_file_open(), uart_ioctl(), uart_read(), uart_read_timeout(), uart_receive_handler(), uart_setup(), and uart_write().
| struct vnode* uart::vnode |
Definition at line 24 of file uart.h.
Referenced by uart_setup().
| struct waitq uart::write_queue |
Definition at line 29 of file uart.h.
Referenced by uart_file_open(), and uart_transmit_handler().