![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
Go to the source code of this file.
Functions | |
void | pid_ctrl_init () |
void | pid_ctrl_deinit () |
void | pid_ctrl_reset () |
float | pid_ctrl_run (int32_t dt, PtpServoAuxInput *pAux) |
void pid_ctrl_deinit | ( | ) |
Deinitialize PD controller.
Definition at line 90 of file pid_controller.c.
void pid_ctrl_init | ( | ) |
Initalize PD controller.
Definition at line 82 of file pid_controller.c.
void pid_ctrl_reset | ( | ) |
Reset PD controller.
Definition at line 96 of file pid_controller.c.
float pid_ctrl_run | ( | int32_t | dt, |
PtpServoAuxInput * | pAux | ||
) |
Run the PD controller.
dt | time error in nanoseconds |
pAux | auxiliary synchronization cycle context data |
Definition at line 101 of file pid_controller.c.