#include "conf_usb.h"
Functions | |
void | device_mouse_hid_task (void *pvParameters) |
Entry point of the device mouse HID task management. More... | |
void | device_mouse_hid_task_init (void) |
This function initializes the hardware/software resources required for device mouse HID task. More... | |
void | usb_sof_action (void) |
usb_sof_action More... | |
void device_mouse_hid_task | ( | void * | pvParameters | ) |
Entry point of the device mouse HID task management.
Write report
References configTSK_USB_DHID_MOUSE_PERIOD, EP_HID_MOUSE_IN, Is_device_enumerated, Is_usb_in_ready, is_usb_mouse_event(), u8_report_buttons, u8_report_disp_wheel, u8_report_disp_x, u8_report_disp_y, Usb_ack_in_ready_send, Usb_reset_endpoint_fifo_access, Usb_write_endpoint_data, vTaskDelayUntil(), and xTaskGetTickCount().
Referenced by device_mouse_hid_task_init(), and main().
void device_mouse_hid_task_init | ( | void | ) |
This function initializes the hardware/software resources required for device mouse HID task.
References configTSK_USB_DHID_MOUSE_NAME, configTSK_USB_DHID_MOUSE_PRIORITY, configTSK_USB_DHID_MOUSE_STACK_SIZE, device_mouse_hid_task(), Is_usb_device, sof_cnt, Usb_enable_sof_interrupt, and xTaskCreate.
Referenced by main().