xref: /haiku/headers/private/graphics/common/ddc.h (revision 83b1a68c52ba3e0e8796282759f694b7fdddf06d)
1 /*
2  * Copyright (c) 2003, Thomas Kurschel
3  * Distributed under the terms of the MIT License.
4 */
5 #ifndef _DDC_H
6 #define _DDC_H
7 
8 
9 #include "i2c.h"
10 #include "edid.h"
11 
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 void ddc2_init_timing(i2c_bus *bus);
18 
19 // read EDID and VDIF from monitor via ddc2
20 // (currently, *vdif and *vdif_len is always set to null)
21 status_t ddc2_read_edid1(const i2c_bus *bus, edid1_info *edid,
22 	void **vdif, size_t *vdifLength);
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif	/* _DDC_H */
29