#include "conf_usb.h"
#include "board.h"
#include "controller.h"
#include "usb_drv.h"
#include "usb_standard_request.h"
#include "device_hid_task.h"
#include "cycle_counter.h"
#include "hid.h"
Functions | |
bool | device_hid_is_complete (void) |
bool | device_hid_send (uint8_t key) |
void | device_hid_task (void) |
Entry point of the device HID task management. More... | |
void | device_hid_task_init (void) |
This function initializes the hardware/software resources required for device HID task. More... | |
Variables | |
static uint8_t | device_hid_key = HID_NO_KEY |
bool device_hid_is_complete | ( | void | ) |
References device_hid_key, and HID_NO_KEY.
Referenced by device_hid_send().
bool device_hid_send | ( | uint8_t | key | ) |
void device_hid_task | ( | void | ) |
Entry point of the device HID task management.
Write report
References device_hid_key, HID_NO_KEY, HID_RELEASE_KEY, Is_device_enumerated, Is_usb_in_ready, Usb_ack_in_ready_send, Usb_reset_endpoint_fifo_access, and Usb_write_endpoint_data.
void device_hid_task_init | ( | void | ) |
This function initializes the hardware/software resources required for device HID task.
References Is_usb_device, and Usb_enable_sof_interrupt.
|
static |
Referenced by device_hid_is_complete(), device_hid_send(), and device_hid_task().