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

Go to the source code of this file.

Classes

class  PS3BT
 

Macros

#define HID_BUFFERSIZE   50
 
#define L2CAP_WAIT   0
 
#define L2CAP_CONTROL_REQUEST   1
 
#define L2CAP_CONTROL_SUCCESS   2
 
#define L2CAP_INTERRUPT_SETUP   3
 
#define L2CAP_INTERRUPT_REQUEST   4
 
#define L2CAP_INTERRUPT_SUCCESS   5
 
#define L2CAP_HID_ENABLE_SIXAXIS   6
 
#define L2CAP_HID_PS3_LED   7
 
#define L2CAP_DONE   8
 
#define L2CAP_INTERRUPT_DISCONNECT   9
 
#define L2CAP_CONTROL_DISCONNECT   10
 
#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x01
 
#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST   0x02
 
#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04
 
#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x08
 
#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST   0x10
 
#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x20
 
#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x40
 
#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x80
 
#define l2cap_connection_request_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)
 
#define l2cap_config_request_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_REQUEST)
 
#define l2cap_config_success_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)
 
#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)
 
#define l2cap_config_request_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST)
 
#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)
 

Macro Definition Documentation

#define HID_BUFFERSIZE   50

Definition at line 24 of file PS3BT.h.

#define L2CAP_WAIT   0

Definition at line 27 of file PS3BT.h.

#define L2CAP_CONTROL_REQUEST   1

Definition at line 28 of file PS3BT.h.

#define L2CAP_CONTROL_SUCCESS   2

Definition at line 29 of file PS3BT.h.

#define L2CAP_INTERRUPT_SETUP   3

Definition at line 30 of file PS3BT.h.

#define L2CAP_INTERRUPT_REQUEST   4

Definition at line 31 of file PS3BT.h.

#define L2CAP_INTERRUPT_SUCCESS   5

Definition at line 32 of file PS3BT.h.

#define L2CAP_HID_ENABLE_SIXAXIS   6

Definition at line 33 of file PS3BT.h.

#define L2CAP_HID_PS3_LED   7

Definition at line 34 of file PS3BT.h.

#define L2CAP_DONE   8

Definition at line 35 of file PS3BT.h.

#define L2CAP_INTERRUPT_DISCONNECT   9

Definition at line 36 of file PS3BT.h.

#define L2CAP_CONTROL_DISCONNECT   10

Definition at line 37 of file PS3BT.h.

#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   0x01

Definition at line 40 of file PS3BT.h.

#define L2CAP_FLAG_CONFIG_CONTROL_REQUEST   0x02

Definition at line 41 of file PS3BT.h.

#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   0x04

Definition at line 42 of file PS3BT.h.

#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   0x08

Definition at line 43 of file PS3BT.h.

#define L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST   0x10

Definition at line 44 of file PS3BT.h.

#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   0x20

Definition at line 45 of file PS3BT.h.

#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   0x40

Definition at line 46 of file PS3BT.h.

#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   0x80

Definition at line 47 of file PS3BT.h.

#define l2cap_connection_request_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_CONTROL_REQUEST)

Definition at line 50 of file PS3BT.h.

#define l2cap_config_request_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_REQUEST)

Definition at line 51 of file PS3BT.h.

#define l2cap_config_success_control_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_CONTROL_SUCCESS)

Definition at line 52 of file PS3BT.h.

#define l2cap_connection_request_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST)

Definition at line 53 of file PS3BT.h.

#define l2cap_config_request_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_REQUEST)

Definition at line 54 of file PS3BT.h.

#define l2cap_config_success_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS)

Definition at line 55 of file PS3BT.h.

#define l2cap_disconnect_response_control_flag   (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE)

Definition at line 56 of file PS3BT.h.

#define l2cap_disconnect_response_interrupt_flag   (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE)

Definition at line 57 of file PS3BT.h.