7.2.1 PIDInit

Description

PIDInit clears the delay line elements in the three-element array located in Y-Data space and pointed to by controlHistory. It also clears the current PID output element, controlOutput.

Prototype

void PIDInit ( tPID *fooPIDStruct);

Arguments

Parameters

Description

fooPIDStruct

A pointer to a PID data structure of type tPID

Returns

None

Remarks

None

Source File

  • pid_aa.s

Function Profile

Device

Program Words

Cycles

PIC32A

6

10

System resource usage

    • W0 - used, not restored.
    • REPEAT instruction usage – None