summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/geq_status.h
blob: 791f34ca2e5243a1a332e7f49430d6dfbd901947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (C) 2019, Raspberry Pi (Trading) Limited
 *
 * geq_status.h - GEQ (green equalisation) control algorithm status
 */
#pragma once

/* The "GEQ" algorithm calculates the green equalisation thresholds */

struct GeqStatus {
	uint16_t offset;
	double slope;
};