Go to the documentation of this file.
107 static int32_t
ADV7533_ReadRegWrap(
void *handle, uint16_t Reg, uint8_t* Data, uint16_t Length);
108 static int32_t
ADV7533_WriteRegWrap(
void *handle, uint16_t Reg, uint8_t* Data, uint16_t Length);
239 *Id = (uint16_t)(((uint16_t)tmp1 << 8) | tmp2);
374 val = (LaneNumber << 4);
710 uint32_t val = 4096U;
727 tmp = (uint8_t)((val & 0xF0000U)>>16);
730 tmp= (uint8_t)((val & 0xFF00U)>>8);
733 tmp= (uint8_t)((val & 0xFFU));
804 (void)(CodecPdwnMode);
int32_t ADV7533_Pause(ADV7533_Object_t *pObj)
Pauses playing on the audio hdmi.
static int32_t ADV7533_ReadRegWrap(void *handle, uint16_t Reg, uint8_t *Data, uint16_t Length)
Function.
int32_t ADV7533_SetResolution(ADV7533_Object_t *pObj, uint32_t Resolution)
Set Audio resolution.
#define ADV7533_CHIPID_ADDR0
#define ADV7533_FREQUENCY_48K
int32_t ADV7533_SetPixel(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Color)
Set pixel color.
int32_t ADV7533_Init(ADV7533_Object_t *pObj, uint32_t ColorCoding, uint32_t Orientation)
Initializes the audio codec and the control interface.
ADV7533_GetTick_Func GetTick
#define ADV7533_FREQUENCY_176K
#define ADV7533_FREQUENCY_88K
ADV7533_DeInit_Func DeInit
int32_t ADV7533_SetBrightness(ADV7533_Object_t *pObj, uint32_t Brightness)
Set the display brightness.
int32_t ADV7533_SetVolume(ADV7533_Object_t *pObj, uint8_t Volume, uint8_t InputOutput)
Sets volumee.
#define ADV7533_CEC_DSI_I2C_ADDR
int32_t ADV7533_ReadID(ADV7533_Object_t *pObj, uint32_t *Id)
Get the adv7533 ID.
ADV7533_ReadReg_Func ReadReg
int32_t ADV7533_DrawBitmap(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint8_t *pBmp)
Draw Bitmap image.
#define ADV7533_FREQUENCY_192K
AUDIO FREQUENCY.
int32_t ADV7533_SetCursor(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos)
Set the display cursor.
int32_t ADV7533_RegisterBusIO(ADV7533_Object_t *pObj, ADV7533_IO_t *pIO)
Function.
ADV7533_Drv_t ADV7533_Driver
int32_t ADV7533_Stop(ADV7533_Object_t *pObj, uint32_t CodecPdwnMode)
Stop playing on the audio hdmi.
int32_t ADV7533_DrawHLine(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Length, uint32_t Color)
Draw Horizontal Line.
int32_t ADV7533_DeInit(ADV7533_Object_t *pObj)
Deinitializes the adv7533.
ADV7533_Write_Func WriteReg
ADV7533_WriteReg_Func WriteReg
#define ADV7533_MAIN_I2C_ADDR
ADV7533 I2C Addresses 0x7A / 0x78.
int32_t ADV7533_SetFrequency(ADV7533_Object_t *pObj, uint32_t AudioFreq)
Sets new frequency.
#define ADV7533_FREQUENCY_96K
int32_t ADV7533_GetFrequency(ADV7533_Object_t *pObj, uint32_t *Frequency)
Sets new frequency.
int32_t ADV7533_AudioInit(ADV7533_Object_t *pObj, ADV7533_Init_t *pInit)
Initializes the audio codec and the control interface.
#define ADV7533_FREQUENCY_44K
int32_t ADV7533_GetVolume(ADV7533_Object_t *pObj, uint8_t Volume)
Sets volumee.
int32_t ADV7533_Reset(ADV7533_Object_t *pObj)
Resets adv7533 registers.
int32_t ADV7533_GetXSize(ADV7533_Object_t *pObj, uint32_t *Xsize)
Set the display Width.
int32_t ADV7533_DisplayOff(ADV7533_Object_t *pObj)
Power off the ADV7533 bridge.
#define ADV7533_CHIPID_ADDR1
static void ADV7533_SetI2C_Address(ADV7533_Object_t *pObj, uint8_t Address)
Configure the DSI-HDMI ADV7533 bridge for video.
int32_t ADV7533_GetProtocol(ADV7533_Object_t *pObj)
Get Audio Protocol.
ADV7533_LcdDrv_t ADV7533_LCD_Driver
static int32_t ADV7533_WriteRegWrap(void *handle, uint16_t Reg, uint8_t *Data, uint16_t Length)
Function.
int32_t ADV7533_SetOrientation(ADV7533_Object_t *pObj, uint32_t Orientation)
Set the display Orientation.
int32_t ADV7533_SetProtocol(ADV7533_Object_t *pObj, uint16_t Protocol)
Set Audio Protocol.
#define ADV7533_FREQUENCY_32K
#define ADV7533_MAIN_POWER_DOWN_REG
int32_t ADV7533_SetOutputMode(ADV7533_Object_t *pObj, uint16_t Output)
Sets output mode.
int32_t ADV7533_Resume(ADV7533_Object_t *pObj)
Resumes playing on the audio hdmi.
ADV7533_Read_Func ReadReg
int32_t adv7533_write_reg(adv7533_ctx_t *ctx, uint16_t reg, uint8_t *pdata, uint16_t length)
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.
int32_t ADV7533_GetPixel(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t *Color)
Get pixel color.
This file contains all the constants parameters for the ADV7533 which is the HDMI bridge between DSI ...
int32_t ADV7533_Configure(ADV7533_Object_t *pObj, uint8_t LaneNumber)
Configure the DSI-HDMI ADV7533 bridge for video.
int32_t ADV7533_SetMute(ADV7533_Object_t *pObj, uint16_t Cmd)
Enables or disables the mute feature on the audio hdmi.
int32_t ADV7533_GetOrientation(ADV7533_Object_t *pObj, uint32_t *Orientation)
Set the display Orientation.
int32_t ADV7533_Play(ADV7533_Object_t *pObj)
Start the audio hdmi play feature.
int32_t ADV7533_DisplayOn(ADV7533_Object_t *pObj)
Power on the ADV7533 bridge.
int32_t ADV7533_GetBrightness(ADV7533_Object_t *pObj, uint32_t *Brightness)
Get the display brightness.
int32_t adv7533_read_reg(adv7533_ctx_t *ctx, uint16_t reg, uint8_t *pdata, uint16_t length)
int32_t ADV7533_GetYSize(ADV7533_Object_t *pObj, uint32_t *Ysize)
Set the display Height.
int32_t ADV7533_GetResolution(ADV7533_Object_t *pObj, uint32_t *Resolution)
Get Audio resolution.
int32_t ADV7533_PatternEnable(ADV7533_Object_t *pObj)
Enable video pattern generation.
int32_t ADV7533_PatternDisable(ADV7533_Object_t *pObj)
Disable video pattern generation.
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_DrawVLine(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Length, uint32_t Color)
Draw Vertical line.