![]() |
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
Go to the source code of this file.
Data Structures | |
struct | EvmuOscillatorSpecs |
struct | EvmuClockStats |
struct | EvmuClockClass |
struct | EvmuClock |
Macros | |
#define | EVMU_CLOCK_NAME "clock" |
#define | EVMU_CLOCK_OSC_QUARTZ_FREQ 32768 |
#define | EVMU_CLOCK_OSC_RC_FREQ 879236 |
#define | EVMU_CLOCK_OSC_CF_FREQ 6000000 |
#define | EVMU_CLOCK_OSC_QUARTZ_TCYC_1_12 366210 |
#define | EVMU_CLOCK_OSC_QUARTZ_TCYC_1_6 183105 |
#define | EVMU_CLOCK_OSC_RC_TCYC_1_12 12568 |
#define | EVMU_CLOCK_OSC_RC_TCYC_1_6 6824 |
#define | EVMU_CLOCK_OSC_CF_TCYC_1_12 2000 |
#define | EVMU_CLOCK_OSC_CF_TCYC_1_6 1000 |
#define | EVMU_CLOCK_OSC_QUARTZ_CURRENT 2600 |
#define | EVMU_CLOCK_OSC_RC_CURRENT 610 |
Type System | |
Type UUID and cast operators | |
#define | EVMU_CLOCK_TYPE (GBL_TYPEID(EvmuClock)) |
#define | EVMU_CLOCK(self) (GBL_CAST(EvmuClock, self)) |
#define | EVMU_CLOCK_CLASS(klass) (GBL_CLASS_CAST(EvmuClock, klass)) |
#define | EVMU_CLOCK_GET_CLASS(self) (GBL_CLASSOF(EvmuClock, self)) |
Typedefs | |
typedef GblEnum | EVMU_OSCILLATOR |
typedef GblEnum | EVMU_CLOCK_SIGNAL |
typedef GblEnum | EVMU_CLOCK_SYSTEM_STATE |
typedef GblEnum | EVMU_CLOCK_DIVIDER |
Enumerations | |
enum | EVMU_OSCILLATOR |
enum | EVMU_CLOCK_SIGNAL |
enum | EVMU_CLOCK_SYSTEM_STATE |
enum | EVMU_CLOCK_DIVIDER |
Functions | |
EVMU_RESULT | EvmuClock_oscillatorSpecs (const EvmuClock *pSelf, EVMU_OSCILLATOR oscillator, EvmuOscillatorSpecs *pSpecs) |
GblBool | EvmuClock_oscillatorActive (const EvmuClock *pSelf, EVMU_OSCILLATOR oscillator) |
EVMU_RESULT | EvmuClock_setOscillatorActive (const EvmuClock *pSelf, EVMU_OSCILLATOR oscillator, GblBool active) |
EVMU_CLOCK_SYSTEM_STATE | EvmuClock_systemState (const EvmuClock *pSelf) |
EVMU_RESULT | EvmuClock_setSystemState (const EvmuClock *pSelf, EVMU_CLOCK_SYSTEM_STATE state) |
EVMU_RESULT | EvmuClock_systemConfig (const EvmuClock *pSelf, EVMU_OSCILLATOR *pSource, EVMU_CLOCK_DIVIDER *pDivider) |
EVMU_RESULT | EvmuClock_setSystemConfig (const EvmuClock *pSelf, EVMU_OSCILLATOR source, EVMU_CLOCK_DIVIDER divider) |
EVMU_RESULT | EvmuClock_signalStats (const EvmuClock *pSelf, EVMU_CLOCK_SIGNAL signal, EvmuClockStats *pStatus) |
EvmuWave | EvmuClock_signalWave (const EvmuClock *pSelf, EVMU_CLOCK_SIGNAL signal) |
EvmuCycles | EvmuClock_signalTicksToCycles (const EvmuClock *pSelf, EVMU_CLOCK_SIGNAL signal, EvmuTicks ticks) |
EvmuTicks | EvmuClock_signalCyclesToTicks (const EvmuClock *pSelf, EVMU_CLOCK_SIGNAL signal, EvmuCycles cycles) |
uint64_t | EvmuClock_systemCyclesPerSec (const EvmuClock *pSelf) |
double | EvmuClock_systemSecsPerCycle (const EvmuClock *pSelf) |
EvmuTicks | EvmuClock_systemTicksPerCycle (const EvmuClock *pSelf) |
EvmuClock peripheral modeling oscillators and timing.
Definition in file evmu_clock.h.
Function-style GblInstance cast to EvmuClock.
Definition at line 20 of file evmu_clock.h.
#define EVMU_CLOCK_CLASS | ( | klass | ) | (GBL_CLASS_CAST(EvmuClock, klass)) |
Function-style GblClass cast to EvmuClockClass.
Definition at line 21 of file evmu_clock.h.
#define EVMU_CLOCK_GET_CLASS | ( | self | ) | (GBL_CLASSOF(EvmuClock, self)) |
Get an EvmuClockClass from a GblInstance
Definition at line 22 of file evmu_clock.h.
#define EVMU_CLOCK_NAME "clock" |
Definition at line 25 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_CF_FREQ 6000000 |
Definition at line 29 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_CF_TCYC_1_12 2000 |
Definition at line 37 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_CF_TCYC_1_6 1000 |
Definition at line 38 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_QUARTZ_CURRENT 2600 |
Definition at line 40 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_QUARTZ_FREQ 32768 |
Definition at line 27 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_QUARTZ_TCYC_1_12 366210 |
Definition at line 31 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_QUARTZ_TCYC_1_6 183105 |
Definition at line 32 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_RC_CURRENT 610 |
Definition at line 41 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_RC_FREQ 879236 |
Definition at line 28 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_RC_TCYC_1_12 12568 |
Definition at line 34 of file evmu_clock.h.
#define EVMU_CLOCK_OSC_RC_TCYC_1_6 6824 |
Definition at line 35 of file evmu_clock.h.
#define EVMU_CLOCK_TYPE (GBL_TYPEID(EvmuClock)) |
Type UUID for EvmuClock.
Definition at line 19 of file evmu_clock.h.
typedef GblEnum EVMU_CLOCK_DIVIDER |
Definition at line 72 of file evmu_clock.h.
typedef GblEnum EVMU_CLOCK_SIGNAL |
Definition at line 54 of file evmu_clock.h.
typedef GblEnum EVMU_CLOCK_SYSTEM_STATE |
Definition at line 64 of file evmu_clock.h.
typedef GblEnum EVMU_OSCILLATOR |
Definition at line 47 of file evmu_clock.h.
enum EVMU_CLOCK_DIVIDER |
Definition at line 72 of file evmu_clock.h.
enum EVMU_CLOCK_SIGNAL |
Definition at line 54 of file evmu_clock.h.
enum EVMU_CLOCK_SYSTEM_STATE |
Definition at line 64 of file evmu_clock.h.
enum EVMU_OSCILLATOR |
Definition at line 47 of file evmu_clock.h.