RTEMS CPU Kit with SuperCore
|
Go to the source code of this file.
Data Structures | |
struct | MW_UID_MESSAGE |
Enumerations | |
enum | MW_INPUT_DEVICE_TYPE { MV_UID_INVALID = 0, MV_UID_REL_POS = 1, MV_UID_ABS_POS = 2, MV_UID_KBD = 3, MV_UID_TIMER = 4 } |
Functions | |
int | uid_open_queue (const char *q_name, int flags, size_t max_msgs) |
This method creates the message queue that holds events from the input devices. More... | |
int | uid_close_queue (void) |
This method closes the message queue and deletes it. More... | |
int | uid_read_message (struct MW_UID_MESSAGE *m, unsigned long timeout) |
This method reads a message from the queue. More... | |
int | uid_send_message (struct MW_UID_MESSAGE *m) |
This methods writes a message to the queue. More... | |
int | uid_register_device (int fd, const char *q_name) |
This method registers the device associated with fd to to insert data to the queue. | |
int | uid_unregister_device (int fd) |
int | uid_set_kbd_mode (int fd, int mode, int *old_mode) |
void | uid_print_message (struct MW_UID_MESSAGE *uid) |
This methods prints the specified UID message using printk. More... | |
void | uid_print_message_with_plugin (void *context, rtems_printk_plugin_t handler, struct MW_UID_MESSAGE *uid) |
This methods prints the specified UID message using your fprintf style method of choice. More... | |