libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
Loading...
Searching...
No Matches
EvmuDevice Struct Reference

#include <evmu_device.h>

Inheritance diagram for EvmuDevice:
EvmuIBehavior

Data Fields

union { 
 
   EvmuDeviceClass *   pClass 
 
   GblObject   base 
 
};  
 
EvmuRampRam
 
EvmuCpupCpu
 
EvmuClockpClock
 
EvmuPicpPic
 
EvmuRompRom
 
EvmuWrampWram
 
EvmuLcdpLcd
 
EvmuBuzzerpBuzzer
 
EvmuBatterypBattery
 
EvmuGamepadpGamepad
 
EvmuTimerspTimers
 
union { 
 
   EvmuFlash *   pFlash 
 
   EvmuFat *   pFat 
 
   EvmuFileManager *   pFileMgr 
 
};  
 

Related Symbols

(Note that these are not member symbols.)

Peripherals

Methods for managing peripheral components

size_t EvmuDevice_peripheralCount (const EvmuDevice *pSelf)
 
EvmuPeripheralEvmuDevice_findPeripheral (const EvmuDevice *pSelf, const char *pName)
 
EvmuPeripheralEvmuDevice_peripheral (const EvmuDevice *pSelf, size_t index)
 

Detailed Description

GblInstance structure for VMU Devices.

This structure models the top-level Potato IC, whose components are accessible as EvmuPeripherals attached to the device.

See also
EvmuDeviceClass

Definition at line 66 of file evmu_device.h.

Friends And Related Symbol Documentation

◆ EvmuDevice_findPeripheral()

EvmuPeripheral * EvmuDevice_findPeripheral ( const EvmuDevice * pSelf,
const char * pName )
related

Finds a child EvmuPeripheral child attached to the given device, returning a pointer to it or NULL if not found.

◆ EvmuDevice_peripheral()

EvmuPeripheral * EvmuDevice_peripheral ( const EvmuDevice * pSelf,
size_t index )
related

Returns the child EvmuPeripheral attached to the given device at the provided index.

◆ EvmuDevice_peripheralCount()

size_t EvmuDevice_peripheralCount ( const EvmuDevice * pSelf)
related

Returns the number of EvmuPeripheral GblObject children attached to the given device instance.

Field Documentation

◆ base

GblObject EvmuDevice::base

Inherited base instance structure.

Definition at line 66 of file evmu_device.h.

◆ pBattery

EvmuBattery* EvmuDevice::pBattery

EvmuBattery Peripheral.

Definition at line 75 of file evmu_device.h.

◆ pBuzzer

EvmuBuzzer* EvmuDevice::pBuzzer

EvmuBuzzer Peripheral.

Definition at line 74 of file evmu_device.h.

◆ pClass

EvmuDeviceClass* EvmuDevice::pClass

Pointer to class/vtable structure.

Definition at line 66 of file evmu_device.h.

◆ pClock

EvmuClock* EvmuDevice::pClock

EvmuClock Peripheral.

Definition at line 69 of file evmu_device.h.

◆ pCpu

EvmuCpu* EvmuDevice::pCpu

EvmuCpu Peripheral.

Definition at line 68 of file evmu_device.h.

◆ pFat

EvmuFat* EvmuDevice::pFat

EvmuFat Peripheral.

Definition at line 80 of file evmu_device.h.

◆ pFileMgr

EvmuFileManager* EvmuDevice::pFileMgr

EvmuFileSystem Peripheral.

Definition at line 81 of file evmu_device.h.

◆ pFlash

EvmuFlash* EvmuDevice::pFlash

EvmuFlash Peripheral.

Definition at line 79 of file evmu_device.h.

◆ pGamepad

EvmuGamepad* EvmuDevice::pGamepad

EvmuGamepad Peripheral.

Definition at line 76 of file evmu_device.h.

◆ pLcd

EvmuLcd* EvmuDevice::pLcd

EvmuLcd Peripheral.

Definition at line 73 of file evmu_device.h.

◆ pPic

EvmuPic* EvmuDevice::pPic

EvmuPic Peripheral.

Definition at line 70 of file evmu_device.h.

◆ pRam

EvmuRam* EvmuDevice::pRam

EvmuRam Peripheral.

Definition at line 67 of file evmu_device.h.

◆ pRom

EvmuRom* EvmuDevice::pRom

EvmuRom Peripheral.

Definition at line 71 of file evmu_device.h.

◆ pTimers

EvmuTimers* EvmuDevice::pTimers

EvmuTimers Peripheral.

Definition at line 77 of file evmu_device.h.

◆ pWram

EvmuWram* EvmuDevice::pWram

EvmuWram Peripheral.

Definition at line 72 of file evmu_device.h.


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