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.
Writes write as part of SPU RAM, voices, ADSR and sound transfer.
static void write(uintptr_t address,uint16_t value)Writes write as part of SPU RAM, voices, ADSR and sound transfer.
| Parameter | Type | Meaning |
|---|---|---|
address | uintptr_t | Not documented; consult the linked header. |
value | uint16_t | Not documented; consult the linked header. |
Returns: Nothing (void).
#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);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/spu_transfer.hpp:9
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.MethodreadReads read as part of SPU RAM, voices, ADSR and sound transfer.MethodstartStarts start as part of SPU RAM, voices, ADSR and sound transfer.Method