/* Execute the Ramp function. 
NOTE: shall be called every 'period'. The period was defined by Ifx_RampF32_init() or Ifx_RampF32_setSlewRate() */
float32 Ifx_RampF32_step(Ifx_RampF32 *ramp)
/* Execute the Ramp function. 
NOTE: shall be called every 'period'. The period was defined by Ifx_RampF32_init() or Ifx_RampF32_setSlewRate() */
float32 Ifx_RampF32_step(Ifx_RampF32 *ramp)
{
    if (ramp->uk < ramp->ik)
    {
        ramp->uk = __minf(ramp->ik, ramp->uk + ramp->delta);
    }
    else if (ramp->uk > ramp->ik)
    {
        ramp->uk = __maxf(ramp->ik, ramp->uk - ramp->delta);
    }
    else
    {}
    return ramp->uk;
}