The RMP Motion Controller APIs

◆ FirmwareAddressGet()

uint32_t FirmwareAddressGet ( uint64_t  hostAddress)
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.
Remarks
This function is also available in RapidSequencer.
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.
RSI::RapidCode::MotionController::AddressGet
uint64_t AddressGet(RSIControllerAddressType type)
Get the an address for some location on the MotionController.
RSI::RapidCode::RSIControllerAddressType
RSIControllerAddressType
Used to get firmware address used in User Limits, Sequencers, etc.
Definition: rsienums.h:412
RSI::RapidCode::MotionController::FirmwareAddressGet
uint32_t FirmwareAddressGet(uint64_t hostAddress)
Convert a host controller address to a firmware address.