Go to the source code of this file.
Classes | |
struct | maple_devinfo |
struct | maple_response |
Typedefs | |
typedef int8_t | maple_response_t |
Variables | |
struct maple_devinfo | __attribute__ |
#define MAPLE_COMMAND_ALLINFO 2 |
Definition at line 87 of file dreamcast_maple.h.
#define MAPLE_COMMAND_BREAD 11 |
Definition at line 96 of file dreamcast_maple.h.
#define MAPLE_COMMAND_BWRITE 12 |
Definition at line 97 of file dreamcast_maple.h.
#define MAPLE_COMMAND_DEVINFO 1 |
Definition at line 86 of file dreamcast_maple.h.
Referenced by maple_do_dma_xfer().
#define MAPLE_COMMAND_GETCOND 9 |
Definition at line 94 of file dreamcast_maple.h.
Referenced by maple_do_dma_xfer().
#define MAPLE_COMMAND_GETLASTERR 13 |
Definition at line 98 of file dreamcast_maple.h.
#define MAPLE_COMMAND_GETMINFO 10 |
Definition at line 95 of file dreamcast_maple.h.
#define MAPLE_COMMAND_KILL 4 |
Definition at line 89 of file dreamcast_maple.h.
#define MAPLE_COMMAND_RESET 3 |
Definition at line 88 of file dreamcast_maple.h.
#define MAPLE_COMMAND_SETCOND 14 |
Definition at line 99 of file dreamcast_maple.h.
#define MAPLE_CONN_BOTTOM 1 /* connector is to the bottom */ |
Definition at line 127 of file dreamcast_maple.h.
#define MAPLE_CONN_TOP 0 /* connector is to the top */ |
Definition at line 126 of file dreamcast_maple.h.
#define MAPLE_FLAG_CMD_PERIODIC_TIMING 2 |
Definition at line 135 of file dreamcast_maple.h.
#define MAPLE_FLAG_PERIODIC 1 |
Definition at line 134 of file dreamcast_maple.h.
#define MAPLE_FN_ARGUN 5 |
Definition at line 107 of file dreamcast_maple.h.
#define MAPLE_FN_CLOCK 3 |
Definition at line 105 of file dreamcast_maple.h.
#define MAPLE_FN_CONTROLLER 0 |
Definition at line 102 of file dreamcast_maple.h.
Referenced by maple_do_dma_xfer().
#define MAPLE_FN_KEYBOARD 6 |
Definition at line 108 of file dreamcast_maple.h.
#define MAPLE_FN_LCD 2 |
Definition at line 104 of file dreamcast_maple.h.
#define MAPLE_FN_LIGHTGUN 7 |
Definition at line 109 of file dreamcast_maple.h.
#define MAPLE_FN_MEMCARD 1 |
Definition at line 103 of file dreamcast_maple.h.
#define MAPLE_FN_MICROPHONE 4 |
Definition at line 106 of file dreamcast_maple.h.
#define MAPLE_FN_MOUSE 9 |
Definition at line 111 of file dreamcast_maple.h.
#define MAPLE_FN_PURUPURU 8 |
Definition at line 110 of file dreamcast_maple.h.
#define MAPLE_FUNC | ( | fn | ) | (1 << (fn)) |
Definition at line 113 of file dreamcast_maple.h.
Referenced by maple_do_dma_xfer().
#define MAPLE_RESPONSE_AGAIN (-4) /* request should be retransmitted */ |
Definition at line 82 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_ALLINFO 6 |
Definition at line 91 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_BADCMD (-3) |
Definition at line 83 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_BADFUNC (-2) |
Definition at line 84 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_DATATRF 8 |
Definition at line 93 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_DEVINFO 5 |
Definition at line 90 of file dreamcast_maple.h.
Referenced by maple_do_dma_xfer().
#define MAPLE_RESPONSE_FILEERR (-5) |
Definition at line 81 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_LCDERR (-6) |
Definition at line 80 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_NONE (-1) /* unit didn't respond at all */ |
Definition at line 85 of file dreamcast_maple.h.
#define MAPLE_RESPONSE_OK 7 |
Definition at line 92 of file dreamcast_maple.h.
typedef int8_t maple_response_t |
Definition at line 76 of file dreamcast_maple.h.
struct pci_vpd __attribute__ |