Constants
The following constants are defined for use with the memory interface. For conceptual usage, see Memory Transactions and Lifecycle.
Transaction Types
The following memory transaction types are defined:
-
static const uint32_t rogue::interfaces::memory::Read = 0x1
[header] Memory read transaction type.
Exposed to Python as
rogue.interfaces.memory.Read.
-
static const uint32_t rogue::interfaces::memory::Write = 0x2
[header] Memory write transaction type.
Exposed to Python as
rogue.interfaces.memory.Write.
-
static const uint32_t rogue::interfaces::memory::Post = 0x3
[header] Memory posted write transaction type.
Exposed to Python as
rogue.interfaces.memory.Post.
-
static const uint32_t rogue::interfaces::memory::Verify = 0x4
[header] Memory verify readback transaction type.
Exposed to Python as
rogue.interfaces.memory.Verify.
Block Process Types
The following block processing types are defined:
-
static const uint8_t rogue::interfaces::memory::PyFunc = 0x00
[header] Block access type for Python callback functions.
Exposed to Python as
rogue.interfaces.memory.PyFunc.
-
static const uint8_t rogue::interfaces::memory::Bytes = 0x01
[header] Block access type for raw byte data.
Exposed to Python as
rogue.interfaces.memory.Bytes.
-
static const uint8_t rogue::interfaces::memory::UInt = 0x02
[header] Block access type for unsigned integer data.
Exposed to Python as
rogue.interfaces.memory.UInt.
-
static const uint8_t rogue::interfaces::memory::Int = 0x03
[header] Block access type for signed integer data.
Exposed to Python as
rogue.interfaces.memory.Int.
-
static const uint8_t rogue::interfaces::memory::Bool = 0x04
[header] Block access type for boolean data.
Exposed to Python as
rogue.interfaces.memory.Bool.
-
static const uint8_t rogue::interfaces::memory::String = 0x05
[header] Block access type for string data.
Exposed to Python as
rogue.interfaces.memory.String.
-
static const uint8_t rogue::interfaces::memory::Float = 0x06
[header] Block access type for floating-point (
float) data.Exposed to Python as
rogue.interfaces.memory.Float.
-
static const uint8_t rogue::interfaces::memory::Double = 0x07
[header] Block access type for double-precision (
double) data.Exposed to Python as
rogue.interfaces.memory.Double.
-
static const uint8_t rogue::interfaces::memory::Fixed = 0x08
[header] Block access type for fixed-point numeric data.
Exposed to Python as
rogue.interfaces.memory.Fixed.
-
static const uint8_t rogue::interfaces::memory::Custom = 0x80
[header] Block access type for custom handlers.
Exposed to Python as
rogue.interfaces.memory.Custom.