summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/geq_status.h
blob: 0ebb7ce71d5b1f0790231f4940a29982d91ae7a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 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 */

#ifdef __cplusplus
extern "C" {
#endif

struct GeqStatus {
	uint16_t offset;
	double slope;
};

#ifdef __cplusplus
}
#endif