DR-U-USB/DR-E-USB RLMXX0CLASS
GT20171121-1
|
Class members to read/write to RLMXXX internal register structure. More...
Functions | |
quint8 | RLMXXXCRC::GetRegister (quint16 radd, quint16 rlen, QByteArray ®, quint8 &ec) |
This function read module internal registers. More... | |
quint8 | RLMXXXCRC::SetRegister (const quint16 radd, const quint16 rlen, const QByteArray ®_data, quint8 &ec) |
Function to write to module internal registers. More... | |
quint8 | RLMXXXCRC::ResetRegister (void) |
This function reset the module internal registers to the factory defaults. More... | |
quint8 | RLMXXXCRC::SaveRegister (void) |
Function to save current module internal register setting to make them non-volatile. More... | |
Class members to read/write to RLMXXX internal register structure.
Some text here..
quint8 RLMXXXCRC::GetRegister | ( | quint16 | radd, |
quint16 | rlen, | ||
QByteArray & | reg, | ||
quint8 & | ec | ||
) |
This function read module internal registers.
Its called by application. If the call failed an error code will be provided from module.
[in] | radd | Internal register address |
[in] | rlen | Bytes to read at address |
[out] | reg | ByteArray with register(s) read from module |
[out] | ec | Error Code returned from module if command failed |
quint8 RLMXXXCRC::ResetRegister | ( | void | ) |
This function reset the module internal registers to the factory defaults.
Its called by application.
quint8 RLMXXXCRC::SaveRegister | ( | void | ) |
Function to save current module internal register setting to make them non-volatile.
Its called by application.
quint8 RLMXXXCRC::SetRegister | ( | const quint16 | radd, |
const quint16 | rlen, | ||
const QByteArray & | reg_data, | ||
quint8 & | ec | ||
) |
Function to write to module internal registers.
Its called by application. If the call failed an error code will be provided from module.
[in] | radd | Internal register address |
[in] | rlen | Bytes to write at address |
[in] | reg_data | ByteArray register content |
[out] | ec | Error Code returned from module if command failed |