Set field weakening#

void uz_SetPoint_set_field_weakening(uz_SetPoint_t *self, bool is_field_weakening_active)#

Enables or disables the field weakening.

Parameters:
  • self – pointer to uz_SetPoint_t object

  • is_field_weakening_active – status flag if field_weakening should be enabled = true or disabled

Example#

Listing 135 Example function call. Init of instance via init-function.#
1int main(void) {
2  bool field_weakening = true;
3  uz_SetPoint_set_field_weakening(SP_instance, field_weakening);
4}

Description#

Activates or disables the field weakening of the SetPoint module.