![]() |
nRF Connect SDK API 3.4.99
|
Audio regulator's API structure. More...
#include <audio_regulator.h>
Data Fields | |
| int(* | initialize )(struct audio_regulator_imp_ctx *const ctx) |
| Initialize a regulator module implementation. | |
| int(* | uninitialize )(struct audio_regulator_imp_ctx *const ctx) |
| Uninitialize a regulator implementation. | |
| int(* | reset )(struct audio_regulator_imp_ctx *const ctx) |
| Reset a regulator module implementation back to the last valid configuration. | |
| int(* | cfg_set )(struct audio_regulator_imp_ctx *const ctx, struct audio_regulator_cfg const *const cfg) |
| Configure a regulator module after it has been initialized. | |
| int(* | cfg_get )(struct audio_regulator_imp_ctx const *const ctx, struct audio_regulator_cfg *cfg) |
| Get the configuration of an active regulator implementation. | |
| int(* | update )(struct audio_regulator_imp_ctx *const ctx, void *const ref_val_r, void *const meas_val_y, void *const control_val_u) |
| Update the regulator implementation. | |
| int(* | control_get )(struct audio_regulator_imp_ctx *const ctx, void *const control_val_u) |
| Retrieve the last control_val_u calculated by the regulator implementation. | |
Audio regulator's API structure.