ATMEL: host_mouse_task.h File Reference

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# host_mouse_task.h File Reference

`#include "config.h"`

Include dependency graph for host_mouse_task.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines

#define | host_hid_set_idle()
#define | host_get_hid_repport_descriptor()

## Detailed Description

This file contains the function declarations for usb host task application - Compiler: IAR EWAVR and GNU GCC for AVR

- Supported devices: AT90USB1287, AT90USB1286, AT90USB647, AT90USB646
  Author:
    Atmel Corporation: http://www.atmel.com
    Support and FAQ: http://support.atmel.no/

Definition in file host_mouse_task.h.

## Define Documentation

#define host_hid_set_idle | ( |  | ) |

Value:

    (usb_request.bmRequestType = USB_SETUP_SET_CLASS_INTER,\
                                               usb_request.bRequest      = 0x0A,\
                                               usb_request.wValue        = 0,\
                                               usb_request.wIndex        = 0,\
                                               usb_request.wLength       = 0,\
                                               usb_request.uncomplete_read = FALSE,\
                                               host_send_control(data_stage))

this function send the hid specific request "hid_set_idle"

Parameters:

  | none |

Returns:
  status

Definition at line 63 of file host_mouse_task.h.

Referenced by host_mouse_task().

#define host_get_hid_repport_descriptor | ( |  | ) |

Value:

    (usb_request.bmRequestType = USB_SETUP_GET_STAND_INTERFACE,\
                                               usb_request.bRequest      = 0x06,\
                                               usb_request.wValue        = 0x2200,\
                                               usb_request.wIndex        = 0,\
                                               usb_request.wLength       = SIZEOF_DATA_STAGE,\
                                               usb_request.uncomplete_read = FALSE,\
                                               host_send_control(data_stage))

this function send the hid specific request "get hid repport descriptor"

Parameters:

  | none |

Returns:
  status

Definition at line 80 of file host_mouse_task.h.

Referenced by host_mouse_task().