Functions
ADV7533 Exported Functions
Collaboration diagram for ADV7533 Exported Functions:

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_read_reg (adv7533_ctx_t *ctx, uint16_t reg, uint8_t *pdata, uint16_t length)
 
int32_t ADV7533_ReadID (ADV7533_Object_t *pObj, uint32_t *Id)
 Get the adv7533 ID. More...
 
static int32_t ADV7533_ReadRegWrap (void *handle, uint16_t Reg, uint8_t *pData, uint16_t Length)
 Function. 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...
 
static void ADV7533_SetI2C_Address (ADV7533_Object_t *pObj, uint8_t Address)
 Configure the DSI-HDMI ADV7533 bridge for video. 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...
 
int32_t adv7533_write_reg (adv7533_ctx_t *ctx, uint16_t reg, uint8_t *pdata, uint16_t length)
 
static int32_t ADV7533_WriteRegWrap (void *handle, uint16_t Reg, uint8_t *pData, uint16_t Length)
 Function. More...
 

Detailed Description

Function Documentation

◆ ADV7533_AudioInit()

int32_t ADV7533_AudioInit ( ADV7533_Object_t pObj,
ADV7533_Init_t pInit 
)

Initializes the audio codec and the control interface.

Parameters
pObjpointer to component object
pInitpointer de component init structure
Return values
Componentstatus

Definition at line 707 of file adv7533.c.

◆ ADV7533_Configure()

int32_t ADV7533_Configure ( ADV7533_Object_t pObj,
uint8_t  LaneNumber 
)

Configure the DSI-HDMI ADV7533 bridge for video.

Parameters
pObjpointer to component object
LaneNumberNumber of lanes to be configured
Return values
Componentstatus

Definition at line 307 of file adv7533.c.

◆ ADV7533_DeInit()

int32_t ADV7533_DeInit ( ADV7533_Object_t pObj)

Deinitializes the adv7533.

Parameters
pObjpointer to component object
Return values
None

Definition at line 202 of file adv7533.c.

◆ ADV7533_DisplayOff()

int32_t ADV7533_DisplayOff ( ADV7533_Object_t pObj)

Power off the ADV7533 bridge.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 278 of file adv7533.c.

◆ ADV7533_DisplayOn()

int32_t ADV7533_DisplayOn ( ADV7533_Object_t pObj)

Power on the ADV7533 bridge.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 250 of file adv7533.c.

◆ ADV7533_DrawBitmap()

int32_t ADV7533_DrawBitmap ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint8_t *  pBmp 
)

Draw Bitmap image.

Parameters
pObjComponent object
XposX position
YposY position
pBmppointer to bmp data
Return values
Componentstatus

Definition at line 599 of file adv7533.c.

◆ ADV7533_DrawHLine()

int32_t ADV7533_DrawHLine ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t  Length,
uint32_t  Color 
)

Draw Horizontal Line.

Parameters
pObjComponent object
XposX position
YposY position
LengthLine length
ColorDraw color
Return values
Componentstatus

Definition at line 623 of file adv7533.c.

◆ ADV7533_DrawVLine()

int32_t ADV7533_DrawVLine ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t  Length,
uint32_t  Color 
)

Draw Vertical line.

Parameters
pObjComponent object
XposX position
YposY position
LengthLine length
ColorDraw color
Return values
Componentstatus

Definition at line 640 of file adv7533.c.

◆ ADV7533_FillRect()

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.

Parameters
pObjComponent object
XposX position
YposY position
WidthRectangle width
HeightRectangle height
ColorDraw color
Return values
Componentstatus

Definition at line 658 of file adv7533.c.

◆ ADV7533_FillRGBRect()

int32_t ADV7533_FillRGBRect ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint8_t *  pData,
uint32_t  Width,
uint32_t  Height 
)

Definition at line 607 of file adv7533.c.

◆ ADV7533_GetBrightness()

int32_t ADV7533_GetBrightness ( ADV7533_Object_t pObj,
uint32_t *  Brightness 
)

Get the display brightness.

Parameters
pObjComponent object
Brightnessdisplay brightness to be returned
Return values
Componentstatus

Definition at line 510 of file adv7533.c.

◆ ADV7533_GetFrequency()

int32_t ADV7533_GetFrequency ( ADV7533_Object_t pObj,
uint32_t *  Frequency 
)

Sets new frequency.

Parameters
pObjpointer to component object
AudioFreqAudio frequency used to play the audio stream.
Return values
Componentstatus

Definition at line 1029 of file adv7533.c.

◆ ADV7533_GetOrientation()

int32_t ADV7533_GetOrientation ( ADV7533_Object_t pObj,
uint32_t *  Orientation 
)

Set the display Orientation.

Parameters
pObjComponent object
Orientationdisplay Orientation to be returned
Return values
Componentstatus

Definition at line 539 of file adv7533.c.

◆ ADV7533_GetPixel()

int32_t ADV7533_GetPixel ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t *  Color 
)

Get pixel color.

Parameters
pObjComponent object
XposX position
YposY position
ColorColor to be returned
Return values
Componentstatus

Definition at line 674 of file adv7533.c.

◆ ADV7533_GetProtocol()

int32_t ADV7533_GetProtocol ( ADV7533_Object_t pObj)

Get Audio Protocol.

Parameters
pObjpointer to component object
Return values
AudioProtocol

Definition at line 948 of file adv7533.c.

◆ ADV7533_GetResolution()

int32_t ADV7533_GetResolution ( ADV7533_Object_t pObj,
uint32_t *  Resolution 
)

Get Audio resolution.

Parameters
pObjpointer to component object
Return values
Audioresolution

Definition at line 917 of file adv7533.c.

◆ ADV7533_GetVolume()

int32_t ADV7533_GetVolume ( ADV7533_Object_t pObj,
uint8_t  Volume 
)

Sets volumee.

Parameters
pObjpointer to component object
Volume: volume value.
Return values
Componentstatus

Definition at line 886 of file adv7533.c.

◆ ADV7533_GetXSize()

int32_t ADV7533_GetXSize ( ADV7533_Object_t pObj,
uint32_t *  Xsize 
)

Set the display Width.

Parameters
pObjComponent object
Xsizedisplay Width to be set
Return values
Componentstatus

Definition at line 553 of file adv7533.c.

◆ ADV7533_GetYSize()

int32_t ADV7533_GetYSize ( ADV7533_Object_t pObj,
uint32_t *  Ysize 
)

Set the display Height.

Parameters
pObjComponent object
Ysizedisplay Height to be set
Return values
Componentstatus

Definition at line 568 of file adv7533.c.

◆ ADV7533_Init()

int32_t ADV7533_Init ( ADV7533_Object_t pObj,
uint32_t  ColorCoding,
uint32_t  Orientation 
)

Initializes the audio codec and the control interface.

Parameters
pObjpointer to component object
ColorCodingColor Code
OrientationDisplay orientation
Return values
Componentstatus

Definition at line 167 of file adv7533.c.

◆ ADV7533_PatternDisable()

int32_t ADV7533_PatternDisable ( ADV7533_Object_t pObj)

Disable video pattern generation.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 473 of file adv7533.c.

◆ ADV7533_PatternEnable()

int32_t ADV7533_PatternEnable ( ADV7533_Object_t pObj)

Enable video pattern generation.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 431 of file adv7533.c.

◆ ADV7533_Pause()

int32_t ADV7533_Pause ( ADV7533_Object_t pObj)

Pauses playing on the audio hdmi.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 770 of file adv7533.c.

◆ ADV7533_Play()

int32_t ADV7533_Play ( ADV7533_Object_t pObj)

Start the audio hdmi play feature.

Note
For this codec no Play options are required.
Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 791 of file adv7533.c.

◆ adv7533_read_reg()

int32_t adv7533_read_reg ( adv7533_ctx_t ctx,
uint16_t  reg,
uint8_t *  pdata,
uint16_t  length 
)

Definition at line 61 of file adv7533_reg.c.

◆ ADV7533_ReadID()

int32_t ADV7533_ReadID ( ADV7533_Object_t pObj,
uint32_t *  Id 
)

Get the adv7533 ID.

Parameters
pObjpointer to component object
Return values
Theadv7533 ID

Definition at line 221 of file adv7533.c.

◆ ADV7533_ReadRegWrap()

static int32_t ADV7533_ReadRegWrap ( void *  handle,
uint16_t  Reg,
uint8_t *  pData,
uint16_t  Length 
)
static

Function.

Parameters
handleComponent object handle
RegThe target register address to write
pDataThe target register value to be written
Lengthbuffer size to be written
Return values
errorstatus

Definition at line 1118 of file adv7533.c.

◆ ADV7533_RegisterBusIO()

int32_t ADV7533_RegisterBusIO ( ADV7533_Object_t pObj,
ADV7533_IO_t pIO 
)

Function.

Parameters
Componentobject pointer
Return values
errorstatus

Definition at line 123 of file adv7533.c.

◆ ADV7533_Reset()

int32_t ADV7533_Reset ( ADV7533_Object_t pObj)

Resets adv7533 registers.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 1089 of file adv7533.c.

◆ ADV7533_Resume()

int32_t ADV7533_Resume ( ADV7533_Object_t pObj)

Resumes playing on the audio hdmi.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 780 of file adv7533.c.

◆ ADV7533_SetBrightness()

int32_t ADV7533_SetBrightness ( ADV7533_Object_t pObj,
uint32_t  Brightness 
)

Set the display brightness.

Parameters
pObjComponent object
Brightnessdisplay brightness to be set
Return values
Componentstatus

Definition at line 496 of file adv7533.c.

◆ ADV7533_SetCursor()

int32_t ADV7533_SetCursor ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos 
)

Set the display cursor.

Parameters
pObjComponent object
XposX position
YposY position
Return values
Componentstatus

Definition at line 583 of file adv7533.c.

◆ ADV7533_SetFrequency()

int32_t ADV7533_SetFrequency ( ADV7533_Object_t pObj,
uint32_t  AudioFreq 
)

Sets new frequency.

Parameters
pObjpointer to component object
AudioFreqAudio frequency used to play the audio stream.
Return values
Componentstatus

Definition at line 963 of file adv7533.c.

◆ ADV7533_SetI2C_Address()

static void ADV7533_SetI2C_Address ( ADV7533_Object_t pObj,
uint8_t  Address 
)
static

Configure the DSI-HDMI ADV7533 bridge for video.

Parameters
config: pointer to adv7533ConfigTypeDef that contains the video configuration parameters
Return values
Componentstatus

Definition at line 1105 of file adv7533.c.

◆ ADV7533_SetMute()

int32_t ADV7533_SetMute ( ADV7533_Object_t pObj,
uint16_t  Cmd 
)

Enables or disables the mute feature on the audio hdmi.

Parameters
pObjpointer to component object
CmdAUDIO_MUTE_ON to enable the mute or AUDIO_MUTE_OFF to disable the mute mode.
Return values
Componentstatus

Definition at line 816 of file adv7533.c.

◆ ADV7533_SetOrientation()

int32_t ADV7533_SetOrientation ( ADV7533_Object_t pObj,
uint32_t  Orientation 
)

Set the display Orientation.

Parameters
pObjComponent object
Orientationdisplay Orientation to be set
Return values
Componentstatus

Definition at line 525 of file adv7533.c.

◆ ADV7533_SetOutputMode()

int32_t ADV7533_SetOutputMode ( ADV7533_Object_t pObj,
uint16_t  Output 
)

Sets output mode.

Parameters
pObjpointer to component object
Outputhdmi output.
Return values
Componentstatus

Definition at line 853 of file adv7533.c.

◆ ADV7533_SetPixel()

int32_t ADV7533_SetPixel ( ADV7533_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t  Color 
)

Set pixel color.

Parameters
pObjComponent object
XposX position
YposY position
ColorColor to be returned
Return values
Componentstatus

Definition at line 690 of file adv7533.c.

◆ ADV7533_SetProtocol()

int32_t ADV7533_SetProtocol ( ADV7533_Object_t pObj,
uint16_t  Protocol 
)

Set Audio Protocol.

Parameters
pObjpointer to component object
ProtocolAudio Protocol
Return values
ADV7533_OK

Definition at line 933 of file adv7533.c.

◆ ADV7533_SetResolution()

int32_t ADV7533_SetResolution ( ADV7533_Object_t pObj,
uint32_t  Resolution 
)

Set Audio resolution.

Parameters
pObjpointer to component object
ResolutionAudio resolution.
Return values
ADV7533_OK

Definition at line 902 of file adv7533.c.

◆ ADV7533_SetVolume()

int32_t ADV7533_SetVolume ( ADV7533_Object_t pObj,
uint8_t  Volume,
uint8_t  InputOutput 
)

Sets volumee.

Parameters
pObjpointer to component object
Volume: volume value.
Return values
Componentstatus

Definition at line 869 of file adv7533.c.

◆ ADV7533_Stop()

int32_t ADV7533_Stop ( ADV7533_Object_t pObj,
uint32_t  CodecPdwnMode 
)

Stop playing on the audio hdmi.

Parameters
pObjpointer to component object
Return values
Componentstatus

Definition at line 801 of file adv7533.c.

◆ adv7533_write_reg()

int32_t adv7533_write_reg ( adv7533_ctx_t ctx,
uint16_t  reg,
uint8_t *  pdata,
uint16_t  length 
)

Definition at line 73 of file adv7533_reg.c.

◆ ADV7533_WriteRegWrap()

static int32_t ADV7533_WriteRegWrap ( void *  handle,
uint16_t  Reg,
uint8_t *  pData,
uint16_t  Length 
)
static

Function.

Parameters
handleComponent object handle
RegThe target register address to write
pDataThe target register value to be written
Lengthbuffer size to be written
Return values
errorstatus

Definition at line 1133 of file adv7533.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:09