Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
PS2MS_INIT Class Reference
PS2 mouse initializer. More...
#include <PS2MS_INIT.h>
| Public Member Functions | |
| PS2MS_INIT (PinName clk_pin, PinName dat_pin) | |
| Create. | |
| ~PS2MS_INIT () | |
| Destroy. | |
| int | send (uint8_t c) | 
| Send a byte data. | |
| int | recv (void) | 
| Receive a byte data. | |
Detailed Description
PS2 mouse initializer.
Definition at line 15 of file PS2MS_INIT.h.
Constructor & Destructor Documentation
| PS2MS_INIT | ( | PinName | clk_pin, | 
| PinName | dat_pin | ||
| ) | 
Create.
PS/2 mouse interface control class (Version 0.0.1)
Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) http://shinta.main.jp/ Create.
Definition at line 12 of file PS2MS_INIT.cpp.
| ~PS2MS_INIT | ( | ) | 
Destroy.
Definition at line 67 of file PS2MS_INIT.cpp.
Member Function Documentation
| int recv | ( | void | ) | 
Receive a byte data.
- Returns:
- return a data. Negative value is a error number.
Definition at line 147 of file PS2MS_INIT.cpp.
| int send | ( | uint8_t | c ) | 
Send a byte data.
- Parameters:
- 
  c a character. 
- Returns:
- Negative value is a error number.
Definition at line 77 of file PS2MS_INIT.cpp.
Generated on Wed Jul 13 2022 15:37:35 by
 1.7.2
 1.7.2