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
14extern "C" {
15#endif
16
17void 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)
21status_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