KallistiOS
##version##
|
Maple frame to be queued for transport. More...
#include <dc/maple.h>
Public Member Functions | |
TAILQ_ENTRY (maple_frame) frameq | |
Send queue handle. NOT A FUNCTION! More... | |
Data Fields | |
int | cmd |
Command (see Maple commands and responses) More... | |
int | dst_port |
Destination port. More... | |
int | dst_unit |
Destination unit. More... | |
int | length |
Data transfer length in 32-bit words. More... | |
volatile int | state |
Has this frame been sent / responded to? More... | |
volatile int | queued |
Are we on the queue? More... | |
void * | send_buf |
The data which will be sent (if any) More... | |
uint8 * | recv_buf |
Points into recv_buf_arr, but 32-byte aligned. More... | |
struct maple_device * | dev |
Does this belong to a device? More... | |
void(* | callback )(struct maple_frame *) |
Response callback. More... | |
uint8 | recv_buf_arr [1024+32] |
Response receive area. More... | |
Maple frame to be queued for transport.
Internal representation of a frame to be queued up for sending.
maple_frame::TAILQ_ENTRY | ( | maple_frame | ) |
Send queue handle. NOT A FUNCTION!
void(* maple_frame::callback)(struct maple_frame *) |
Response callback.
int maple_frame::cmd |
Command (see Maple commands and responses)
struct maple_device* maple_frame::dev |
Does this belong to a device?
int maple_frame::dst_port |
Destination port.
int maple_frame::dst_unit |
Destination unit.
int maple_frame::length |
Data transfer length in 32-bit words.
volatile int maple_frame::queued |
Are we on the queue?
uint8* maple_frame::recv_buf |
Points into recv_buf_arr, but 32-byte aligned.
uint8 maple_frame::recv_buf_arr[1024+32] |
Response receive area.
void* maple_frame::send_buf |
The data which will be sent (if any)
volatile int maple_frame::state |
Has this frame been sent / responded to?