Atmel Software Framework

audio/audio_player/ai_hid_class/device_hid_task.c File Reference
#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().

void device_hid_task ( void  )
void device_hid_task_init ( void  )

This function initializes the hardware/software resources required for device HID task.

References cpu_ms_2_cy(), cpu_set_timeout(), FCPU_HZ, Is_usb_device, TIMER_STARTUP, and Usb_enable_sof_interrupt.

uint8_t device_hid_key = HID_NO_KEY
static