CS318 - Pintos
Pintos source browser for JHU CS318 course
src
devices
serial.h
Go to the documentation of this file.
1
#ifndef DEVICES_SERIAL_H
2
#define DEVICES_SERIAL_H
3
4
#include <
stdint.h
>
5
6
void
serial_init_queue
(
void
);
7
void
serial_putc
(
uint8_t
);
8
void
serial_flush
(
void
);
9
void
serial_notify
(
void
);
10
11
#endif
/**< devices/serial.h */
uint8_t
unsigned char uint8_t
Definition:
stdint.h:20
serial_notify
void serial_notify(void)
devices/serial.h
Definition:
serial.c:148
stdint.h
serial_flush
void serial_flush(void)
Flushes anything in the serial buffer out the port in polling mode.
Definition:
serial.c:135
serial_init_queue
void serial_init_queue(void)
Initializes the serial port device for queued interrupt-driven I/O.
Definition:
serial.c:82
serial_putc
void serial_putc(uint8_t)
Sends BYTE to the serial port.
Definition:
serial.c:99
Generated on Thu Aug 22 2019 10:19:15 for CS318 - Pintos by
1.8.16