summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/geq_status.h
blob: 07fd5f0347ef7d65be3715a1a8023d6a31486498 (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