Atmel Software Framework

host_mouse_hid_task.h File Reference
#include "conf_usb.h"
#include "usb_host_task.h"

Macros

#define DEVICE_TO_HOST   0x01
 
#define DIR_LOCAL_IN_NAME   "IN"
 
#define DIR_LOCAL_OUT_NAME   "OUT"
 
#define DIR_USB_IN_NAME   "IN"
 
#define DIR_USB_OUT_NAME   "OUT"
 
#define FULL_SYNC   (DEVICE_TO_HOST | HOST_TO_DEVICE)
 
#define HOST_TO_DEVICE   0x02
 
#define Is_host_mouse_hid_configured()   (mouse_hid_connected && !Is_host_suspended())
 
#define LED_HOST_MOUSE_B0   LED_MONO0_GREEN
 
#define LED_HOST_MOUSE_B1   LED_MONO1_GREEN
 
#define LED_HOST_MOUSE_B2   LED_MONO2_GREEN
 
#define LED_HOST_MOUSE_B3   LED_MONO3_GREEN
 

Functions

void host_mouse_hid_task (void)
 This function manages the host mouse HID task. More...
 
void host_mouse_hid_task_init (void)
 This function initializes the host mouse HID task. More...
 
void host_sof_action (void)
 host_sof_action More...
 

Variables

volatile bool ms_connected
 

#define DIR_LOCAL_IN_NAME   "IN"
#define DIR_LOCAL_OUT_NAME   "OUT"
#define DIR_USB_IN_NAME   "IN"
#define DIR_USB_OUT_NAME   "OUT"
#define FULL_SYNC   (DEVICE_TO_HOST | HOST_TO_DEVICE)
#define Is_host_mouse_hid_configured ( )    (mouse_hid_connected && !Is_host_suspended())

Referenced by host_mouse_hid_task().

#define LED_HOST_MOUSE_B0   LED_MONO0_GREEN
#define LED_HOST_MOUSE_B1   LED_MONO1_GREEN
#define LED_HOST_MOUSE_B2   LED_MONO2_GREEN
#define LED_HOST_MOUSE_B3   LED_MONO3_GREEN

void host_mouse_hid_task_init ( void  )

volatile bool ms_connected