no-OS
Loading...
Searching...
No Matches
no_os_pid.h File Reference

Header file for PID control utility. More...

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
Include dependency graph for no_os_pid.h:

Classes

struct  no_os_pid_range
 Range definition for limiting PID control output or internal integrator accumulator. More...
 
struct  no_os_pid_config
 Configuration of the PID. More...
 

Functions

int no_os_pid_init (struct no_os_pid **pid, struct no_os_pid_config config)
 
int no_os_pid_control (struct no_os_pid *pid, int SP, int PV, int *output)
 
int no_os_pid_hysteresis (struct no_os_pid *pid, unsigned int hyst)
 
int no_os_pid_reset (struct no_os_pid *pid)
 
int no_os_pid_remove (struct no_os_pid *pid)
 

Detailed Description

Header file for PID control utility.

Author
Darius Berghe (dariu.nosp@m.s.be.nosp@m.rghe@.nosp@m.anal.nosp@m.og.co.nosp@m.m)

Copyright 2023(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Function Documentation

◆ no_os_pid_control()

int no_os_pid_control ( struct no_os_pid * pid,
int SP,
int PV,
int * output )

◆ no_os_pid_hysteresis()

int no_os_pid_hysteresis ( struct no_os_pid * pid,
unsigned int hyst )

◆ no_os_pid_init()

int no_os_pid_init ( struct no_os_pid ** pid,
struct no_os_pid_config config )

◆ no_os_pid_remove()

int no_os_pid_remove ( struct no_os_pid * pid)

◆ no_os_pid_reset()

int no_os_pid_reset ( struct no_os_pid * pid)