2.1.4.19 DRV_MCMETROLOGY_SetControl Function
C
void DRV_MCMETROLOGY_SetControl (DRV_MCMETROLOGY_REGS_CONTROL * pControl);
Summary
Establishes the content of all control registers at once.
Description
Overwrite the value of the every control register in the shared memory at once.
Parameters
Pointer to data of the new control registers to overwrite the old ones.
Returns
None.
Example
voidAPP_METROLOGY_SetControlByDefault(void)
{
DRV_MCMETROLOGY_REGS_CONTROL *pSrc;
pSrc = DRV_MCMETROLOGY_GetControlByDefault();
DRV_MCMETROLOGY_SetControl(pSrc);
}
Remarks
None.
