MentOS  0.8.0
The Mentoring Operating System
ps2.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 int ps2_initialize(void);
11 
16 void ps2_write_data(unsigned char data);
17 
22 void ps2_write_command(unsigned char command);
23 
29 unsigned char ps2_read_data(void);
void ps2_write_command(unsigned char command)
Sends a command to the PS/2 controller.
Definition: ps2.c:92
int ps2_initialize(void)
Initializes ps2 devices.
Definition: ps2.c:200
unsigned char ps2_read_data(void)
Reads a byte of data from the PS/2 device.
Definition: ps2.c:103
void ps2_write_data(unsigned char data)
Writes a byte of data to the PS/2 device.
Definition: ps2.c:82