KallistiOS git master
Independent SDK for the Sega Dreamcast
|
One maple device. More...
#include <dc/maple.h>
Data Fields | |
int | port |
Maple bus port connected to. | |
int | unit |
Unit number, off of the port. | |
maple_devinfo_t | info |
Device info struct. | |
maple_frame_t | frame |
One rx/tx frame. | |
struct maple_driver * | drv |
Driver which handles this device. | |
uint8 | probe_mask |
Mask of sub-devices left to probe. | |
uint8 | dev_mask |
Device-present mask for unit 0's. | |
volatile uint8 | status_valid |
Have we got our first status update? | |
uint32 | status [] |
Status buffer (for pollable devices) | |
One maple device.
Note that we duplicate the port/unit info which is normally somewhat implicit so that we can pass around a pointer to a particular device struct.
uint8 maple_device_t::dev_mask |
Device-present mask for unit 0's.
struct maple_driver* maple_device_t::drv |
Driver which handles this device.
maple_frame_t maple_device_t::frame |
One rx/tx frame.
maple_devinfo_t maple_device_t::info |
Device info struct.
int maple_device_t::port |
Maple bus port connected to.
uint8 maple_device_t::probe_mask |
Mask of sub-devices left to probe.
uint32 maple_device_t::status[] |
Status buffer (for pollable devices)
volatile uint8 maple_device_t::status_valid |
Have we got our first status update?
int maple_device_t::unit |
Unit number, off of the port.