Change the type of decoupling#
-
void uz_CurrentControl_set_decoupling_method(uz_CurrentControl_t *self, enum uz_CurrentControl_decoupling_select decoupling_select)#
Function to change the type of decoupling during runtime.
- Parameters:
self – uz_CurrentControl_t instance
decoupling_select –
enum CurrentControl decoupling selector
no_decoupling
linear_decoupling
Example#
Listing 83 Example function call to change decoupling during runtime. CurrentControl-Instance via init-function#
1int main(void) {
2 uz_CurrentControl_set_decoupling_method(CC_instance, linear_decoupling);
3}
Description#
Gives the option to change the type of decoupling during runtime. As input arguments for the type of decoupling the enum shown in Configuration is used.