Go to the documentation of this file.
112 int32_t (*FillRGBRect ) (
ADV7533_Object_t*, uint32_t, uint32_t, uint8_t *, uint32_t, uint32_t);
115 int32_t ( *FillRect ) (
ADV7533_Object_t*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
129 #define ADV7533_OK (0)
130 #define ADV7533_ERROR (-1)
135 #define ADV7533_FREQUENCY_192K 192000
136 #define ADV7533_FREQUENCY_176K 176400
137 #define ADV7533_FREQUENCY_96K 96000
138 #define ADV7533_FREQUENCY_88K 88200
139 #define ADV7533_FREQUENCY_48K 48000
140 #define ADV7533_FREQUENCY_44K 44100
141 #define ADV7533_FREQUENCY_32K 32000
142 #define ADV7533_FREQUENCY_22K 22050
143 #define ADV7533_FREQUENCY_16K 16000
144 #define ADV7533_FREQUENCY_11K 11025
145 #define ADV7533_FREQUENCY_8K 8000
150 #define OUTPUT_DEVICE_ADV7533_HDMI 0x1000U
155 #define ADV7533_MAIN_I2C_ADDR 0x7AU
156 #define ADV7533_CEC_DSI_I2C_ADDR 0x78U
161 #define ADV7533_ASPECT_RATIO_16_9 00U
162 #define ADV7533_ASPECT_RATIO_4_3 01U
167 #define ADV7533_MODE_HDMI 00U
168 #define ADV7533_MODE_DVI 01U
176 #define ADV7533_ID 0x7533U
179 #define ADV7533_MUTE_ON 1U
180 #define ADV7533_MUTE_OFF 0U
int32_t ADV7533_Pause(ADV7533_Object_t *pObj)
Pauses playing on the audio hdmi.
int32_t ADV7533_SetResolution(ADV7533_Object_t *pObj, uint32_t Resolution)
Set Audio resolution.
int32_t ADV7533_SetPixel(ADV7533_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Color)
Set pixel color.
ADV7533_Drv_t ADV7533_Driver
napi_value Init(napi_env env, napi_value exports)
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
ADV7533_DeInit_Func DeInit
This file contains all the constants parameters for the ADV7533 which is the HDMI bridge between DSI ...
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.
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.
int32_t(* ADV7533_Delay_Func)(uint32_t)
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.
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_ReadReg_Func)(uint16_t, uint16_t, uint8_t *, uint16_t)
int32_t ADV7533_DeInit(ADV7533_Object_t *pObj)
Deinitializes the adv7533.
ADV7533_WriteReg_Func WriteReg
int32_t ADV7533_SetFrequency(ADV7533_Object_t *pObj, uint32_t AudioFreq)
Sets new frequency.
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.
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.
int32_t ADV7533_GetProtocol(ADV7533_Object_t *pObj)
Get Audio Protocol.
int32_t ADV7533_SetOrientation(ADV7533_Object_t *pObj, uint32_t Orientation)
Set the display Orientation.
int32_t(* ADV7533_Init_Func)(void)
int32_t(* ADV7533_GetTick_Func)(void)
int32_t ADV7533_SetProtocol(ADV7533_Object_t *pObj, uint16_t Protocol)
Set Audio Protocol.
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.
int32_t(* ADV7533_WriteReg_Func)(uint16_t, uint16_t, uint8_t *, uint16_t)
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.
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.
ADV7533_LcdDrv_t ADV7533_LCD_Driver
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.
int32_t(* ADV7533_DeInit_Func)(void)