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

Go to the source code of this file.

Data Structures

struct  EvmuPeripheralClass
 
struct  EvmuPeripheral
 

Macros

Type System

Type UUID and cast operators

#define EVMU_PERIPHERAL_TYPE   (GBL_TYPEID(EvmuPeripheral))
 
#define EVMU_PERIPHERAL(self)   (GBL_CAST(EvmuPeripheral, self))
 
#define EVMU_PERIPHERAL_CLASS(klass)   (GBL_CLASS_CAST(EvmuPeripheral, klass))
 
#define EVMU_PERIPHERAL_GET_CLASS(self)   (GBL_CLASSOF(EvmuPeripheral, self))
 

Typedefs

typedef GblEnum EVMU_PERIPHERAL_LOG_LEVEL
 

Enumerations

enum  EVMU_PERIPHERAL_LOG_LEVEL
 

Functions

GblType EvmuPeripheral_type (void)
 

Detailed Description

EvmuPeripheral base VMU component type.

EvmuPeripheral and its APIs comprise the various hardware peripherals such as timers, serial ports. clocks, etc which are containe within the Sanyo Potato IC.

Author
2023 Falco Girgis

Definition in file evmu_peripheral.h.

Macro Definition Documentation

◆ EVMU_PERIPHERAL

#define EVMU_PERIPHERAL (   self)    (GBL_CAST(EvmuPeripheral, self))

Function-style GblInstance cast operator.

Definition at line 22 of file evmu_peripheral.h.

◆ EVMU_PERIPHERAL_CLASS

#define EVMU_PERIPHERAL_CLASS (   klass)    (GBL_CLASS_CAST(EvmuPeripheral, klass))

Function-style GblClass cast operator.

Definition at line 23 of file evmu_peripheral.h.

◆ EVMU_PERIPHERAL_GET_CLASS

#define EVMU_PERIPHERAL_GET_CLASS (   self)    (GBL_CLASSOF(EvmuPeripheral, self))

Get an EvmuPeripheralClass from GblInstance

Definition at line 24 of file evmu_peripheral.h.

◆ EVMU_PERIPHERAL_TYPE

#define EVMU_PERIPHERAL_TYPE   (GBL_TYPEID(EvmuPeripheral))

GblType UUID for EvmuPeripheral.

Definition at line 21 of file evmu_peripheral.h.

Typedef Documentation

◆ EVMU_PERIPHERAL_LOG_LEVEL

typedef GblEnum EVMU_PERIPHERAL_LOG_LEVEL

Definition at line 44 of file evmu_peripheral.h.

Enumeration Type Documentation

◆ EVMU_PERIPHERAL_LOG_LEVEL

enum EVMU_PERIPHERAL_LOG_LEVEL

Definition at line 44 of file evmu_peripheral.h.

44 {
45 EVMU_PERIPHERAL_LOG_LEVEL_ERROR,
46 EVMU_PERIPHERAL_LOG_LEVEL_WARNING,
47 EVMU_PERIPHERAL_LOG_LEVEL_VERBOSE,
48 EVMU_PERIPHERAL_LOG_LEVEL_DEBUG,
49 EVMU_PERIPHERAL_LOG_LEVEL_DISABLED
50};

Function Documentation

◆ EvmuPeripheral_type()

GblType EvmuPeripheral_type ( void  )

Returns the GblType UUID corresponding to the EvmuPeripheral type.