Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Reads read as part of SPU RAM, voices, ADSR and sound transfer.
static uint16_t read(uintptr_t address)Reads read as part of SPU RAM, voices, ADSR and sound transfer.
| Parameter | Type | Meaning |
|---|---|---|
address | uintptr_t | Not documented; consult the linked header. |
Returns: uint16_t. Consult the linked header for its meaning.
#include "spu_transfer.hpp"
// Assume these named values have been initialized with valid data:
// uintptr_t address
auto result = epok::spu::Hardware::read(address);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/spu_transfer.hpp:8
cancelPerforms `cancel` as part of SPU RAM, voices, ADSR and sound transfer.Methoddma_busyPerforms `dma busy` as part of SPU RAM, voices, ADSR and sound transfer.MethodstartStarts start as part of SPU RAM, voices, ADSR and sound transfer.MethodwriteWrites write as part of SPU RAM, voices, ADSR and sound transfer.Method