ChimeraTK-DeviceAccess
03.18.00
|
Functions | |
RegisterPath | BAR () |
The numeric_address::BAR() function can be used to directly access registers by numeric addresses, instead of using register names (e.g. More... | |
RegisterPath ChimeraTK::numeric_address::BAR | ( | ) |
The numeric_address::BAR() function can be used to directly access registers by numeric addresses, instead of using register names (e.g.
when no map file exists). The address will form a special RegisterPath which can be used in any place where a register path name is expected, if the backend supports it.
The syntax is as follows
BAR()/<barNumber>/<addressInBytes>
-> access 4-byte register in bar <barNumber>
at byte offset <addressInBytes>
BAR()/<barNumber>/<addressInBytes>*<lengthInBytes>
-> access register with arbitrary length of <lengthInBytes>
Definition at line 7 of file NumericAddress.cc.