KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
maple_state_str Struct Reference

Maple state structure. More...

#include <dc/maple.h>

Data Fields

struct maple_driver_list driver_list
 Maple device driver list. Do not manipulate directly! More...
 
struct maple_frame_queue frame_queue
 Maple frame submission queue. Do not manipulate directly! More...
 
maple_port_t ports [MAPLE_PORT_COUNT]
 Maple device info structure. More...
 
volatile int dma_cntr
 DMA interrupt counter. More...
 
volatile int vbl_cntr
 VBlank interrupt counter. More...
 
uint8dma_buffer
 DMA send buffer. More...
 
volatile int dma_in_progress
 Is a DMA running now? More...
 
int detect_port_next
 Next port that will be auto-detected. More...
 
int detect_unit_next
 Next unit which will be auto-detected. More...
 
volatile int detect_wrapped
 Did the detect wrap? More...
 
int vbl_handle
 Our vblank handler handle. More...
 

Detailed Description

Maple state structure.

We put everything in here to keep from polluting the global namespace too much.

Field Documentation

int maple_state_str::detect_port_next

Next port that will be auto-detected.

int maple_state_str::detect_unit_next

Next unit which will be auto-detected.

volatile int maple_state_str::detect_wrapped

Did the detect wrap?

uint8* maple_state_str::dma_buffer

DMA send buffer.

volatile int maple_state_str::dma_cntr

DMA interrupt counter.

volatile int maple_state_str::dma_in_progress

Is a DMA running now?

struct maple_driver_list maple_state_str::driver_list

Maple device driver list. Do not manipulate directly!

struct maple_frame_queue maple_state_str::frame_queue

Maple frame submission queue. Do not manipulate directly!

maple_port_t maple_state_str::ports[MAPLE_PORT_COUNT]

Maple device info structure.

volatile int maple_state_str::vbl_cntr

VBlank interrupt counter.

int maple_state_str::vbl_handle

Our vblank handler handle.


The documentation for this struct was generated from the following file: