|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Data Structures | |
| struct | ps2_driver_api |
| Driver Operations PS/2 driver operations More... | |
Typedefs | |
| typedef int(* | ps2_config_t) (const struct device *dev, ps2_callback_t callback_isr) |
| Callback API for configuring a PS/2 device. | |
| typedef int(* | ps2_read_t) (const struct device *dev, uint8_t *value) |
| Callback API for reading from a PS/2 device. | |
| typedef int(* | ps2_write_t) (const struct device *dev, uint8_t value) |
| Callback API for writing to a PS/2 device. | |
| typedef int(* | ps2_disable_callback_t) (const struct device *dev) |
| Callback API for disabling a PS/2 device callback. | |
| typedef int(* | ps2_enable_callback_t) (const struct device *dev) |
| Callback API for enabling a PS/2 device callback. | |
This group contains the API type definitions, callback signatures, and other helpers required to implement a PS/2 driver.
| typedef int(* ps2_config_t) (const struct device *dev, ps2_callback_t callback_isr) |
#include <zephyr/drivers/ps2.h>
Callback API for configuring a PS/2 device.
| typedef int(* ps2_disable_callback_t) (const struct device *dev) |
#include <zephyr/drivers/ps2.h>
Callback API for disabling a PS/2 device callback.
| typedef int(* ps2_enable_callback_t) (const struct device *dev) |
#include <zephyr/drivers/ps2.h>
Callback API for enabling a PS/2 device callback.
#include <zephyr/drivers/ps2.h>
Callback API for reading from a PS/2 device.
#include <zephyr/drivers/ps2.h>
Callback API for writing to a PS/2 device.