| 
    Zephyr Project API 4.2.99
    
   A Scalable Open Source RTOS 
   | 
 
Main header file for PS/2 (Personal System/2) driver API. More...
#include <errno.h>#include <zephyr/types.h>#include <stddef.h>#include <zephyr/device.h>#include <zephyr/syscalls/ps2.h>Go to the source code of this file.
Typedefs | |
| typedef void(* | ps2_callback_t) (const struct device *dev, uint8_t data) | 
| PS/2 callback called when user types or click a mouse.   | |
Functions | |
| int | ps2_config (const struct device *dev, ps2_callback_t callback_isr) | 
| Configure a ps2 instance.   | |
| int | ps2_write (const struct device *dev, uint8_t value) | 
| Write to PS/2 device.   | |
| int | ps2_read (const struct device *dev, uint8_t *value) | 
| Read slave-to-host values from PS/2 device.   | |
| int | ps2_enable_callback (const struct device *dev) | 
| Enables callback.   | |
| int | ps2_disable_callback (const struct device *dev) | 
| Disables callback.   | |
Main header file for PS/2 (Personal System/2) driver API.