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