USB Host Shield 2.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Macros
BTHID.h File Reference
#include "BTD.h"
#include "controllerEnums.h"
#include "hidboot.h"
Include dependency graph for BTHID.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BTHID
 

Macros

#define L2CAP_WAIT   0
 
#define L2CAP_CONTROL_SUCCESS   1
 
#define L2CAP_INTERRUPT_SETUP   2
 
#define L2CAP_CONTROL_CONNECT_REQUEST   3
 
#define L2CAP_CONTROL_CONFIG_REQUEST   4
 
#define L2CAP_INTERRUPT_CONNECT_REQUEST   5
 
#define L2CAP_INTERRUPT_CONFIG_REQUEST   6
 
#define L2CAP_DONE   7
 
#define L2CAP_INTERRUPT_DISCONNECT   8
 
#define L2CAP_CONTROL_DISCONNECT   9
 
#define L2CAP_FLAG_CONTROL_CONNECTED   0x01
 
#define L2CAP_FLAG_INTERRUPT_CONNECTED   0x02
 
#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04
 
#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x08
 
#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x10
 
#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x20
 
#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x40
 
#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x80
 
#define l2cap_connected_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONTROL_CONNECTED)
 
#define l2cap_connected_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_INTERRUPT_CONNECTED)
 
#define l2cap_config_success_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)
 
#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)
 
#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)
 
#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)
 
#define l2cap_connection_request_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)
 
#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)
 
#define KEYBOARD_PARSER_ID   0
 
#define MOUSE_PARSER_ID   1
 
#define epMUL   2
 

Macro Definition Documentation

#define L2CAP_WAIT   0

Definition at line 26 of file BTHID.h.

#define L2CAP_CONTROL_SUCCESS   1

Definition at line 29 of file BTHID.h.

#define L2CAP_INTERRUPT_SETUP   2

Definition at line 30 of file BTHID.h.

#define L2CAP_CONTROL_CONNECT_REQUEST   3

Definition at line 33 of file BTHID.h.

#define L2CAP_CONTROL_CONFIG_REQUEST   4

Definition at line 34 of file BTHID.h.

#define L2CAP_INTERRUPT_CONNECT_REQUEST   5

Definition at line 35 of file BTHID.h.

#define L2CAP_INTERRUPT_CONFIG_REQUEST   6

Definition at line 37 of file BTHID.h.

#define L2CAP_DONE   7

Definition at line 38 of file BTHID.h.

#define L2CAP_INTERRUPT_DISCONNECT   8

Definition at line 40 of file BTHID.h.

#define L2CAP_CONTROL_DISCONNECT   9

Definition at line 41 of file BTHID.h.

#define L2CAP_FLAG_CONTROL_CONNECTED   0x01

Definition at line 44 of file BTHID.h.

#define L2CAP_FLAG_INTERRUPT_CONNECTED   0x02

Definition at line 45 of file BTHID.h.

#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04

Definition at line 46 of file BTHID.h.

#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x08

Definition at line 47 of file BTHID.h.

#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x10

Definition at line 48 of file BTHID.h.

#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x20

Definition at line 49 of file BTHID.h.

#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x40

Definition at line 50 of file BTHID.h.

#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x80

Definition at line 51 of file BTHID.h.

#define l2cap_connected_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONTROL_CONNECTED)

Definition at line 54 of file BTHID.h.

#define l2cap_connected_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_INTERRUPT_CONNECTED)

Definition at line 55 of file BTHID.h.

#define l2cap_config_success_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)

Definition at line 56 of file BTHID.h.

#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)

Definition at line 57 of file BTHID.h.

#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)

Definition at line 58 of file BTHID.h.

#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)

Definition at line 59 of file BTHID.h.

#define l2cap_connection_request_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)

Definition at line 60 of file BTHID.h.

#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)

Definition at line 61 of file BTHID.h.

#define KEYBOARD_PARSER_ID   0

Definition at line 63 of file BTHID.h.

#define MOUSE_PARSER_ID   1

Definition at line 64 of file BTHID.h.

#define epMUL   2

Definition at line 65 of file BTHID.h.