2004-07-16 04:46:01 +04:00
|
|
|
/*
|
2007-09-20 02:36:55 +04:00
|
|
|
* Copyright (c) 2003, Thomas Kurschel
|
|
|
|
* Distributed under the terms of the MIT License.
|
2004-07-16 04:46:01 +04:00
|
|
|
*/
|
|
|
|
#ifndef _DDC_H
|
|
|
|
#define _DDC_H
|
|
|
|
|
2007-09-20 02:36:55 +04:00
|
|
|
|
2004-07-16 04:46:01 +04:00
|
|
|
#include "i2c.h"
|
|
|
|
#include "edid.h"
|
|
|
|
|
2007-09-20 02:36:55 +04:00
|
|
|
|
2007-09-21 21:33:35 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2007-09-20 02:36:55 +04:00
|
|
|
void ddc2_init_timing(i2c_bus *bus);
|
|
|
|
|
2004-07-16 04:46:01 +04:00
|
|
|
// read EDID and VDIF from monitor via ddc2
|
|
|
|
// (currently, *vdif and *vdif_len is always set to null)
|
2007-09-20 02:36:55 +04:00
|
|
|
status_t ddc2_read_edid1(const i2c_bus *bus, edid1_info *edid,
|
|
|
|
void **vdif, size_t *vdifLength);
|
2004-07-16 04:46:01 +04:00
|
|
|
|
2007-09-21 21:33:35 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2007-09-20 02:36:55 +04:00
|
|
|
#endif /* _DDC_H */
|