◆ FirmwareAddressGet()

virtual uint32_t FirmwareAddressGet ( uint64_t  hostAddress)
pure virtual

Convert a host controller address to a firmware address.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
FirmwareAddressGet converts and returns a host controller address to a firmware address.
Parameters
hostAddressAny address (host) in the controller's memory.
Returns
(int32_t) Host address.
Sample Code:
// -- C# -- //
int addr = controller.AddressGet(RSIControllerAddressType.RSIControllerAddressTypeSAMPLE_COUNTER);
Console.WriteLine("Host address is 0x{0} Firmware Address is 0x{1}", addr, controller.FirmwareAddressGet(addr));
See also
MemorySet, MemoryGet, AddressFromStringGet
Examples
Gantry.cpp, and Memory.cpp.