Classes | Macros | Typedefs | Functions | Variables
adv7533.h File Reference

This file contains all the constants parameters for the ADV7533 which is the HDMI bridge between DSI and HDMI. More...

#include "adv7533_reg.h"
#include <stddef.h>
Include dependency graph for adv7533.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ADV7533_Drv_t
 
struct  ADV7533_Init_t
 
struct  ADV7533_IO_t
 
struct  ADV7533_LcdDrv_t
 
struct  ADV7533_Object_t
 

Macros

#define ADV7533_ASPECT_RATIO_16_9   00U
 ADV7533 Aspect ratio. More...
 
#define ADV7533_ASPECT_RATIO_4_3   01U
 
#define ADV7533_CEC_DSI_I2C_ADDR   0x78U
 
#define ADV7533_ERROR   (-1)
 
#define ADV7533_FREQUENCY_11K   11025
 
#define ADV7533_FREQUENCY_16K   16000
 
#define ADV7533_FREQUENCY_176K   176400
 
#define ADV7533_FREQUENCY_192K   192000
 AUDIO FREQUENCY. More...
 
#define ADV7533_FREQUENCY_22K   22050
 
#define ADV7533_FREQUENCY_32K   32000
 
#define ADV7533_FREQUENCY_44K   44100
 
#define ADV7533_FREQUENCY_48K   48000
 
#define ADV7533_FREQUENCY_88K   88200
 
#define ADV7533_FREQUENCY_8K   8000
 
#define ADV7533_FREQUENCY_96K   96000
 
#define ADV7533_ID   0x7533U
 ADV7533 Main Features Parameters. More...
 
#define ADV7533_MAIN_I2C_ADDR   0x7AU
 ADV7533 I2C Addresses 0x7A / 0x78. More...
 
#define ADV7533_MODE_DVI   01U
 
#define ADV7533_MODE_HDMI   00U
 ADV7533 Aspect ratio. More...
 
#define ADV7533_MUTE_OFF   0U
 
#define ADV7533_MUTE_ON   1U
 
#define ADV7533_OK   (0)
 
#define OUTPUT_DEVICE_ADV7533_HDMI   0x1000U
 HDMI audio output DEVICE. More...
 

Typedefs

typedef int32_t(* ADV7533_DeInit_Func) (void)
 
typedef int32_t(* ADV7533_Delay_Func) (uint32_t)
 
typedef int32_t(* ADV7533_GetTick_Func) (void)
 
typedef int32_t(* ADV7533_Init_Func) (void)
 
typedef int32_t(* ADV7533_ReadReg_Func) (uint16_t, uint16_t, uint8_t *, uint16_t)
 
typedef int32_t(* ADV7533_WriteReg_Func) (uint16_t, uint16_t, uint8_t *, uint16_t)
 

Functions

int32_t ADV7533_AudioInit (ADV7533_Object_t *pObj, ADV7533_Init_t *pInit)
 Initializes the audio codec and the control interface. More...
 
int32_t ADV7533_Configure (ADV7533_Object_t *pObj, uint8_t LaneNumber)
 Configure the DSI-HDMI ADV7533 bridge for video. More...
 
int32_t ADV7533_DeInit (ADV7533_Object_t *pObj)
 Deinitializes the adv7533. More...
 
int32_t ADV7533_DisplayOff (ADV7533_Object_t *pObj)
 Power off the ADV7533 bridge. More...
 
int32_t ADV7533_DisplayOn (ADV7533_Object_t *pObj)
 Power on the ADV7533 bridge. More...
 
int32_t ADV7533_DrawBitmap (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint8_t *pBmp)
 Draw Bitmap image. More...
 
int32_t ADV7533_DrawHLine (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Length, uint32_t Color)
 Draw Horizontal Line. More...
 
int32_t ADV7533_DrawVLine (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Length, uint32_t Color)
 Draw Vertical line. More...
 
int32_t ADV7533_FillRect (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Width, uint32_t Height, uint32_t Color)
 Fill rectangle. More...
 
int32_t ADV7533_FillRGBRect (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint8_t *pData, uint32_t Width, uint32_t Height)
 
int32_t ADV7533_GetBrightness (ADV7533_Object_t *pObj, uint32_t *Brightness)
 Get the display brightness. More...
 
int32_t ADV7533_GetFrequency (ADV7533_Object_t *pObj, uint32_t *Frequency)
 Sets new frequency. More...
 
int32_t ADV7533_GetOrientation (ADV7533_Object_t *pObj, uint32_t *Orientation)
 Set the display Orientation. More...
 
int32_t ADV7533_GetPixel (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t *Color)
 Get pixel color. More...
 
int32_t ADV7533_GetProtocol (ADV7533_Object_t *pObj)
 Get Audio Protocol. More...
 
int32_t ADV7533_GetResolution (ADV7533_Object_t *pObj, uint32_t *Resolution)
 Get Audio resolution. More...
 
int32_t ADV7533_GetVolume (ADV7533_Object_t *pObj, uint8_t Volume)
 Sets volumee. More...
 
int32_t ADV7533_GetXSize (ADV7533_Object_t *pObj, uint32_t *Xsize)
 Set the display Width. More...
 
int32_t ADV7533_GetYSize (ADV7533_Object_t *pObj, uint32_t *Ysize)
 Set the display Height. More...
 
int32_t ADV7533_Init (ADV7533_Object_t *pObj, uint32_t ColorCoding, uint32_t Orientation)
 Initializes the audio codec and the control interface. More...
 
int32_t ADV7533_PatternDisable (ADV7533_Object_t *pObj)
 Disable video pattern generation. More...
 
int32_t ADV7533_PatternEnable (ADV7533_Object_t *pObj)
 Enable video pattern generation. More...
 
int32_t ADV7533_Pause (ADV7533_Object_t *pObj)
 Pauses playing on the audio hdmi. More...
 
int32_t ADV7533_Play (ADV7533_Object_t *pObj)
 Start the audio hdmi play feature. More...
 
int32_t ADV7533_ReadID (ADV7533_Object_t *pObj, uint32_t *Id)
 Get the adv7533 ID. More...
 
int32_t ADV7533_RegisterBusIO (ADV7533_Object_t *pObj, ADV7533_IO_t *pIO)
 Function. More...
 
int32_t ADV7533_Reset (ADV7533_Object_t *pObj)
 Resets adv7533 registers. More...
 
int32_t ADV7533_Resume (ADV7533_Object_t *pObj)
 Resumes playing on the audio hdmi. More...
 
int32_t ADV7533_SetBrightness (ADV7533_Object_t *pObj, uint32_t Brightness)
 Set the display brightness. More...
 
int32_t ADV7533_SetCursor (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos)
 Set the display cursor. More...
 
int32_t ADV7533_SetFrequency (ADV7533_Object_t *pObj, uint32_t AudioFreq)
 Sets new frequency. More...
 
int32_t ADV7533_SetMute (ADV7533_Object_t *pObj, uint16_t Cmd)
 Enables or disables the mute feature on the audio hdmi. More...
 
int32_t ADV7533_SetOrientation (ADV7533_Object_t *pObj, uint32_t Orientation)
 Set the display Orientation. More...
 
int32_t ADV7533_SetOutputMode (ADV7533_Object_t *pObj, uint16_t Output)
 Sets output mode. More...
 
int32_t ADV7533_SetPixel (ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Color)
 Set pixel color. More...
 
int32_t ADV7533_SetProtocol (ADV7533_Object_t *pObj, uint16_t Protocol)
 Set Audio Protocol. More...
 
int32_t ADV7533_SetResolution (ADV7533_Object_t *pObj, uint32_t Resolution)
 Set Audio resolution. More...
 
int32_t ADV7533_SetVolume (ADV7533_Object_t *pObj, uint8_t Volume, uint8_t InputOutput)
 Sets volumee. More...
 
int32_t ADV7533_Stop (ADV7533_Object_t *pObj, uint32_t CodecPdwnMode)
 Stop playing on the audio hdmi. More...
 

Variables

ADV7533_Drv_t ADV7533_Driver
 
ADV7533_LcdDrv_t ADV7533_LCD_Driver
 

Detailed Description

This file contains all the constants parameters for the ADV7533 which is the HDMI bridge between DSI and HDMI.

Author
MCD Application Team
Attention

© Copyright (c) 2016 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file adv7533.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:55