PKUOS - Pintos
Pintos source browser for PKU Operating System course
src
devices
input.h
Go to the documentation of this file.
1
#ifndef DEVICES_INPUT_H
2
#define DEVICES_INPUT_H
3
4
#include <
stdbool.h
>
5
#include <
stdint.h
>
6
7
void
input_init
(
void
);
8
void
input_putc
(
uint8_t
);
9
uint8_t
input_getc
(
void
);
10
bool
input_full
(
void
);
11
12
#endif
/**< devices/input.h */
input_init
void input_init(void)
Initializes the input buffer.
Definition:
input.c:11
input_getc
uint8_t input_getc(void)
Retrieves a key from the input buffer.
Definition:
input.c:31
input_putc
void input_putc(uint8_t)
Adds a key to the input buffer.
Definition:
input.c:19
input_full
bool input_full(void)
devices/input.h
Definition:
input.c:48
stdbool.h
stdint.h
uint8_t
unsigned char uint8_t
Definition:
stdint.h:20
Generated on Thu Nov 4 2021 19:31:00 for PKUOS - Pintos by
1.9.2