DR-U-USB/DR-E-USB RLMXX0CLASS  GT20171121-1
Functions
"RLMXXX Register Manipulation"

Class members to read/write to RLMXXX internal register structure. More...

Functions

quint8 RLMXXXCRC::GetRegister (quint16 radd, quint16 rlen, QByteArray &reg, quint8 &ec)
 This function read module internal registers. More...
 
quint8 RLMXXXCRC::SetRegister (const quint16 radd, const quint16 rlen, const QByteArray &reg_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...
 

Detailed Description

Class members to read/write to RLMXXX internal register structure.

Some text here..

Function Documentation

◆ GetRegister()

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.

Parameters
[in]raddInternal register address
[in]rlenBytes to read at address
[out]regByteArray with register(s) read from module
[out]ecError Code returned from module if command failed
Returns
1 on success, 0 if failed

◆ ResetRegister()

quint8 RLMXXXCRC::ResetRegister ( void  )

This function reset the module internal registers to the factory defaults.

Its called by application.

Returns
1 on success, 0 if failed

◆ SaveRegister()

quint8 RLMXXXCRC::SaveRegister ( void  )

Function to save current module internal register setting to make them non-volatile.

Its called by application.

Returns
1 on success, 0 if failed

◆ SetRegister()

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.

Parameters
[in]raddInternal register address
[in]rlenBytes to write at address
[in]reg_dataByteArray register content
[out]ecError Code returned from module if command failed
Returns
1 on success, 0 if failed