diff options
author | tmk <nobody@nowhere> | 2011-02-07 14:59:07 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2011-02-22 03:08:54 +0900 |
commit | 04f351b80279c55dfc6c8028f95eab7e01d50c84 (patch) | |
tree | 09e211eb1d1384d04374069e7e668b37a2f54bfd /ps2.h | |
parent | 0632618d29dfb30c76b4e7c310dc7bee36919f63 (diff) |
PS/2 library receives data partially by interrupt
Diffstat (limited to 'ps2.h')
-rw-r--r-- | ps2.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,5 @@ /* -Copyright (c) 2010 Jun WAKO <wakojun@gmail.com> +Copyright (c) 2010,2011 Jun WAKO <wakojun@gmail.com> This software is licensed with a Modified BSD License. All of this is supposed to be Free Software, Open Source, DFSG-free, @@ -66,11 +66,13 @@ POSSIBILITY OF SUCH DAMAGE. extern uint8_t ps2_error; -/* host side */ +/* host role */ void ps2_host_init(void); -uint8_t ps2_host_send(uint8_t); +uint8_t ps2_host_send(uint8_t data); +uint8_t ps2_host_recv_response(void); uint8_t ps2_host_recv(void); +void ps2_host_set_led(uint8_t usb_led); -/* TODO: device side */ +/* device role */ #endif |