![]() |
nRF Connect SDK API 3.4.99
|
| int audio_regulator_update_control | ( | struct audio_regulator_ctx const *const | ctx, |
| void *const | ref_val_r, | ||
| void *const | meas_val_y, | ||
| void *const | control_val_u ) |
#include <applications/nrf_audio/src/modules/audio_regulator/audio_regulator.h>
Update and get the new control_val_u between the reference value and the measured value for an audio regulator module.
| ctx | [in/out] Pointer to the audio regulator's context. |
| ref_val_r | [in] Pointer to the reference value. |
| meas_val_y | [in] Pointer to the measured value. |
| control_val_u | [out] Pointer to the control value. |