1.3.2.1 mchp_pid_f32()

float32_t mchp_pid_f32 (mchp_pid_instance_f32 * S, float32_t in)

Process function for the single-precision floating-point PID controller.

Computes one iteration of the PID control law.

Parameters:
in,out S

Pointer to PID instance structure

in in

Input error sample

Returns:

Control output value