Epok Engine

PSYQO SDK

psyqo::Hardware::CDRom::Cause

Variable

Variable

Exposes `Cause` on the `psyqo::Hardware::CDRom` namespace for the hardware/cdrom module.

Belongs to
psyqo::Hardware::CDRom
Header
hardware/cdrom.hh

Declaration

Declaration
Register<0, uint8_t, WriteQueue::Bypass, Access<BasicAccess<2051, 3212840960U, uint8_t>, 1>> Cause

Exposes `Cause` on the `psyqo::Hardware::CDRom` namespace for the hardware/cdrom module.

Type
Register<0, uint8_t, WriteQueue::Bypass, Access<BasicAccess<2051, 3212840960U, uint8_t>, 1>>
Storage
Namespace scope

Example

C++ example
#include "psyqo/hardware/cdrom.hh"

auto value = psyqo::Hardware::CDRom::Cause;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/hardware/cdrom.hh:117