Epok Engine

EPOK RUNTIME

epok::spu::Hardware::write

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Writes write as part of SPU RAM, voices, ADSR and sound transfer.

Belongs to
epok::spu::Hardware
Header
spu_transfer.hpp
Overloads
1

Declaration

static
Declaration
static void write(uintptr_t address,uint16_t value)

Writes write as part of SPU RAM, voices, ADSR and sound transfer.

ParameterTypeMeaning
addressuintptr_tNot documented; consult the linked header.
valueuint16_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#include "spu_transfer.hpp"

// Assume these named values have been initialized with valid data:
// uintptr_t address
// uint16_t value

epok::spu::Hardware::write(address, value);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/spu_transfer.hpp:9

Related members