Constants
The following constants are defined for use with the memory interface.
Transaction Types
The following memory transaction types are defined:
-
static const uint32_t rogue::interfaces::memory::Read = 0x1
Memory read transaction type.
Exposed to Python as
rogue.interfaces.memory.Read.
-
static const uint32_t rogue::interfaces::memory::Write = 0x2
Memory write transaction type.
Exposed to Python as
rogue.interfaces.memory.Write.
-
static const uint32_t rogue::interfaces::memory::Post = 0x3
Memory posted write transaction type.
Exposed to Python as
rogue.interfaces.memory.Post.
-
static const uint32_t rogue::interfaces::memory::Verify = 0x4
Memory verify readback transaction type.
Exposed to Python as
rogue.interfaces.memory.Verify.
Block Process Types
The following block processing type ar defined:
-
static const uint8_t rogue::interfaces::memory::PyFunc = 0x00
Block access type for Python callback functions.
Exposed to Python as
rogue.interfaces.memory.PyFunc.
-
static const uint8_t rogue::interfaces::memory::Bytes = 0x01
Block access type for raw byte data.
Exposed to Python as
rogue.interfaces.memory.Bytes.
-
static const uint8_t rogue::interfaces::memory::UInt = 0x02
Block access type for unsigned integer data.
Exposed to Python as
rogue.interfaces.memory.UInt.
-
static const uint8_t rogue::interfaces::memory::Int = 0x03
Block access type for signed integer data.
Exposed to Python as
rogue.interfaces.memory.Int.
-
static const uint8_t rogue::interfaces::memory::Bool = 0x04
Block access type for boolean data.
Exposed to Python as
rogue.interfaces.memory.Bool.
-
static const uint8_t rogue::interfaces::memory::String = 0x05
Block access type for string data.
Exposed to Python as
rogue.interfaces.memory.String.
-
static const uint8_t rogue::interfaces::memory::Float = 0x06
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
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
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
Block access type for custom handlers.
Exposed to Python as
rogue.interfaces.memory.Custom.