wut
v1.7.0
Wii U Toolchain
|
InfraRed Data. More...
Data Structures | |
struct | CCRCDCIrdaConnectRequest |
struct | CCRCDCIrdaConnectReply |
struct | CCRCDCIrdaSendRequest |
struct | CCRCDCIrdaSendReply |
struct | CCRCDCIrdaReceiveRequest |
struct | CCRCDCIrdaReceiveReply |
struct | CCRCDCIrdaDisconnectRequest |
struct | CCRCDCIrdaDisconnectReply |
struct | CCRCDCIrdaSmallPacketHeader |
struct | CCRCDCIrdaLargePacketHeader |
Macros | |
#define | CCR_CDC_IRDA_DATA_TRANSFER_SIZE 0x208 |
The buffer size for data tranfers (send / receive) More... | |
Typedefs | |
typedef uint8_t | CCRCDCIrdaCommand |
typedef uint8_t | CCRCDCIrdaBitrate |
typedef uint8_t | CCRCDCIrdaConnectionType |
typedef struct CCRCDCIrdaConnectRequest | CCRCDCIrdaConnectRequest |
typedef struct CCRCDCIrdaConnectReply | CCRCDCIrdaConnectReply |
typedef struct CCRCDCIrdaSendRequest | CCRCDCIrdaSendRequest |
typedef struct CCRCDCIrdaSendReply | CCRCDCIrdaSendReply |
typedef struct CCRCDCIrdaReceiveRequest | CCRCDCIrdaReceiveRequest |
typedef struct CCRCDCIrdaReceiveReply | CCRCDCIrdaReceiveReply |
typedef struct CCRCDCIrdaDisconnectRequest | CCRCDCIrdaDisconnectRequest |
typedef struct CCRCDCIrdaDisconnectReply | CCRCDCIrdaDisconnectReply |
typedef struct CCRCDCIrdaSmallPacketHeader | CCRCDCIrdaSmallPacketHeader |
typedef struct CCRCDCIrdaLargePacketHeader | CCRCDCIrdaLargePacketHeader |
Enumerations | |
enum | CCRCDCIrdaCommandEnum { CCR_IRDA_COMMAND_CONNECT = 0 , CCR_IRDA_COMMAND_SEND = 1 , CCR_IRDA_COMMAND_RECEIVE = 2 , CCR_IRDA_COMMAND_DISCONNECT = 3 } |
enum | CCRCDCIrdaBitrateEnum { CCR_IRDA_BITRATE_115200 = 0 , CCR_IRDA_BITRATE_96000 = 1 , CCR_IRDA_BITRATE_72000 = 2 , CCR_IRDA_BITRATE_57600 = 3 , CCR_IRDA_BITRATE_48000 = 4 , CCR_IRDA_BITRATE_38400 = 5 , CCR_IRDA_BITRATE_36000 = 6 , CCR_IRDA_BITRATE_24000 = 7 , CCR_IRDA_BITRATE_19200 = 8 , CCR_IRDA_BITRATE_18000 = 9 , CCR_IRDA_BITRATE_12000 = 10 , CCR_IRDA_BITRATE_9600 = 11 , CCR_IRDA_BITRATE_7200 = 13 , CCR_IRDA_BITRATE_6000 = 13 , CCR_IRDA_BITRATE_4800 = 14 , CCR_IRDA_BITRATE_3000 = 15 } |
enum | CCRCDCIrdaConnectionTypeEnum { CCR_IRDA_CONNECTION_WAIT = 0 , CCR_IRDA_CONNECTION_REQUIRE = 1 , CCR_IRDA_CONNECTION_ANY = 2 } |
Functions | |
int32_t | CCRCDCPerIrdaControl (CCRCDCDestination dest, void *request, uint32_t requestSize, void *response, uint32_t responseSize) |
Controls IR of the GamePad. More... | |
InfraRed Data.
struct CCRCDCIrdaConnectRequest |
Data Fields | ||
---|---|---|
CCRCDCIrdaCommand | command | CCR_IRDA_COMMAND_CONNECT. |
uint16_t | timeout | Timeout of the connection in ms. |
CCRCDCIrdaBitrate | bitrate | Bitrate of the connection. |
uint16_t | receiveSize | Amount of data which should be received from the other device. |
uint8_t | targetId | The ID of the target device. |
CCRCDCIrdaConnectionType | type | The type of the connect request. |
struct CCRCDCIrdaConnectReply |
struct CCRCDCIrdaSendRequest |
Data Fields | ||
---|---|---|
CCRCDCIrdaCommand | command | CCR_IRDA_COMMAND_SEND. |
uint16_t | size | The size of this request. |
uint8_t | data[0] | Packet data starts here. |
struct CCRCDCIrdaSendReply |
struct CCRCDCIrdaReceiveRequest |
Data Fields | ||
---|---|---|
CCRCDCIrdaCommand | command | CCR_IRDA_COMMAND_RECEIVE. |
struct CCRCDCIrdaReceiveReply |
struct CCRCDCIrdaDisconnectRequest |
Data Fields | ||
---|---|---|
CCRCDCIrdaCommand | command | CCR_IRDA_COMMAND_DISCONNECT. |
struct CCRCDCIrdaDisconnectReply |
struct CCRCDCIrdaSmallPacketHeader |
struct CCRCDCIrdaLargePacketHeader |
#define CCR_CDC_IRDA_DATA_TRANSFER_SIZE 0x208 |
typedef uint8_t CCRCDCIrdaCommand |
typedef uint8_t CCRCDCIrdaBitrate |
typedef uint8_t CCRCDCIrdaConnectionType |
typedef struct CCRCDCIrdaConnectRequest CCRCDCIrdaConnectRequest |
typedef struct CCRCDCIrdaConnectReply CCRCDCIrdaConnectReply |
typedef struct CCRCDCIrdaSendRequest CCRCDCIrdaSendRequest |
typedef struct CCRCDCIrdaSendReply CCRCDCIrdaSendReply |
typedef struct CCRCDCIrdaReceiveRequest CCRCDCIrdaReceiveRequest |
typedef struct CCRCDCIrdaReceiveReply CCRCDCIrdaReceiveReply |
typedef struct CCRCDCIrdaDisconnectRequest CCRCDCIrdaDisconnectRequest |
typedef struct CCRCDCIrdaDisconnectReply CCRCDCIrdaDisconnectReply |
typedef struct CCRCDCIrdaSmallPacketHeader CCRCDCIrdaSmallPacketHeader |
typedef struct CCRCDCIrdaLargePacketHeader CCRCDCIrdaLargePacketHeader |
int32_t CCRCDCPerIrdaControl | ( | CCRCDCDestination | dest, |
void * | request, | ||
uint32_t | requestSize, | ||
void * | response, | ||
uint32_t | responseSize | ||
) |
Controls IR of the GamePad.
Note that the GamePad expects data in a specific packet format.
dest | The device to get the mac address from. See CCRCDCDestinationEnum. |
request | The request payload sent to the GamePad. |
requestSize | The size of the request payload. |
response | The response payload received from the GamePad. |
responseSize | The size of the response payload. |