no-OS
|
EDID control module source. More...
Functions | |
uint8_t | ADIAPI_mw_edid_parse (uint8_t *edid_ptr, uint16_t *spa_offset, uint8_t seg_num) |
uint8_t | ADIAPI_mw_edid_parse_silent (uint8_t *edid_ptr, uint16_t *spa_offset, uint8_t seg_num) |
void | ADIAPI_mw_edid_get_info (struct edid_info *info_ptr) |
void | ADIAPI_mw_edid_get_audio_info (struct edid_audio_info *audio_info_ptr) |
void | ADIAPI_mw_edid_enable_debug_msg (bool enable) |
EDID control module source.
Copyright 2019(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
void ADIAPI_mw_edid_enable_debug_msg | ( | bool | enable | ) |
Enable or disable EDID verbose output.
Useful for debugging and getting information about the sink.
[in] | enable | - True to enable sending EDID information to the serial connection, false to disable it. |
void ADIAPI_mw_edid_get_audio_info | ( | struct edid_audio_info * | audio_info_ptr | ) |
Get the audio information about the last parsed EDID.
[out] | audio_info_ptr | - Pointer to the EDID structure where to copy the information. |
void ADIAPI_mw_edid_get_info | ( | struct edid_info * | info_ptr | ) |
Get the information about the last parsed EDID.
[out] | info_ptr | - Pointer to the EDID structure where to copy the information. |
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.
[in] | edid_ptr | - Pointer to the EDID message. |
[out] | spa_offset | - Pointer to the SPA offset or 0 |
[in] | seg_num | - EDID segment number. |
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.
[in] | edid_ptr | - Pointer to the EDID message. |
[out] | spa_offset | - Pointer to the SPA offset or 0 |
[in] | seg_num | - EDID segment number. |