EDID control module source.
More...
#include "edid.h"
#include <stdlib.h>
EDID control module source.
- Author
- Andrei Drimbarean (andre.nosp@m.i.dr.nosp@m.imbar.nosp@m.ean@.nosp@m.analo.nosp@m.g.co.nosp@m.m)
Copyright 2019(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ ADIAPI_mw_edid_enable_debug_msg()
| void ADIAPI_mw_edid_enable_debug_msg |
( |
bool | enable | ) |
|
Enable or disable EDID verbose output.
Useful for debugging and getting information about the sink.
- Parameters
-
| [in] | enable | - True to enable sending EDID information to the serial connection, false to disable it. |
◆ ADIAPI_mw_edid_get_audio_info()
| void ADIAPI_mw_edid_get_audio_info |
( |
struct edid_audio_info * | audio_info_ptr | ) |
|
Get the audio information about the last parsed EDID.
- Parameters
-
| [out] | audio_info_ptr | - Pointer to the EDID structure where to copy the information. |
◆ ADIAPI_mw_edid_get_info()
| void ADIAPI_mw_edid_get_info |
( |
struct edid_info * | info_ptr | ) |
|
Get the information about the last parsed EDID.
- Parameters
-
| [out] | info_ptr | - Pointer to the EDID structure where to copy the information. |
◆ ADIAPI_mw_edid_parse()
| uint8_t ADIAPI_mw_edid_parse |
( |
uint8_t * | edid_ptr, |
|
|
uint16_t * | spa_offset, |
|
|
uint8_t | seg_num ) |
Parse and display the EDID message received.
- Parameters
-
| [in] | edid_ptr | - Pointer to the EDID message. |
| [out] | spa_offset | - Pointer to the SPA offset or 0 |
| [in] | seg_num | - EDID segment number. |
- Returns
- number of total additional segments, 0 if none or if checksum error in segment 0
◆ ADIAPI_mw_edid_parse_silent()
| uint8_t ADIAPI_mw_edid_parse_silent |
( |
uint8_t * | edid_ptr, |
|
|
uint16_t * | spa_offset, |
|
|
uint8_t | seg_num ) |
Parse the EDID message received without displaying to the terminal.
- Parameters
-
| [in] | edid_ptr | - Pointer to the EDID message. |
| [out] | spa_offset | - Pointer to the SPA offset or 0 |
| [in] | seg_num | - EDID segment number. |
- Returns
- number of total additional segments, 0 if none or if checksum error in segment 0