Set external clamping signal#

void uz_SpeedControl_set_ext_clamping(uz_SpeedControl_t *self, bool ext_clamping)#

Sets the ext_clamping signal true or false.

Parameters:
  • self – pointer to uz_SpeedControl_t object

  • ext_clamping – external clamping signal. True=clamping gets activated, false=clamping gets disabled

Example#

Listing 147 Example function call. Init of instance via init-function.#
1int main(void) {
2bool ext_clamping = true;
3   uz_SpeedControl_set_ext_clamping(SC_instance, ext_clamping);
4}

Description#

Sets the external clamping signal of the PI-Controller to the input value. If the input is true, the external clamping of the underlying PI-Controller will be activated.