STM32Cube BSP FW for STM32F769I-Discovery

Dependents:   mbed-os-example-blinky-5 DISCO-F769NI_TOUCHSCREEN_demo_custom_1 Datarecorder2 DISCO-F769NI_TOUCHSCREEN_demo ... more

Embed: (wiki syntax)

« Back to documentation index

ADV7533 Exported Functions

ADV7533 Exported Functions
[ADV7533ADV7533_Exported_Types]

Functions

uint8_t ADV7533_Init (void)
 Initializes the ADV7533 bridge.
void ADV7533_PowerOn (void)
 Power on the ADV7533 bridge.
void ADV7533_PowerDown (void)
 Power off the ADV7533 bridge.
void ADV7533_Configure (adv7533ConfigTypeDef *config)
 Configure the DSI-HDMI ADV7533 bridge for video.
void ADV7533_PatternEnable (void)
 Enable video pattern generation.
void ADV7533_PatternDisable (void)
 Disable video pattern generation.
uint32_t adv7533_AudioInit (uint16_t DeviceAddr, uint16_t OutputDevice, uint8_t Volume, uint32_t AudioFreq)
 Initializes the ADV7533 audio interface.
void adv7533_DeInit (void)
 Deinitializes the adv7533.
uint32_t adv7533_ReadID (uint16_t DeviceAddr)
 Get the adv7533 ID.
uint32_t adv7533_Pause (uint16_t DeviceAddr)
 Pauses playing on the audio hdmi.
uint32_t adv7533_Resume (uint16_t DeviceAddr)
 Resumes playing on the audio hdmi.
uint32_t adv7533_Play (uint16_t DeviceAddr, uint16_t *pBuffer, uint16_t Size)
 Start the audio hdmi play feature.
uint32_t adv7533_Stop (uint16_t DeviceAddr, uint32_t cmd)
 Stop playing on the audio hdmi.
uint32_t adv7533_SetMute (uint16_t DeviceAddr, uint32_t Cmd)
 Enables or disables the mute feature on the audio hdmi.
uint32_t adv7533_SetOutputMode (uint16_t DeviceAddr, uint8_t Output)
 Sets output mode.
uint32_t adv7533_SetVolume (uint16_t DeviceAddr, uint8_t Volume)
 Sets volumee.
uint32_t adv7533_Reset (uint16_t DeviceAddr)
 Resets adv7533 registers.
uint32_t adv7533_SetFrequency (uint16_t DeviceAddr, uint32_t AudioFreq)
 Sets new frequency.

Function Documentation

uint32_t adv7533_AudioInit ( uint16_t  DeviceAddr,
uint16_t  OutputDevice,
uint8_t  Volume,
uint32_t  AudioFreq 
)

Initializes the ADV7533 audio interface.

Parameters:
DeviceAddr,:Device address on communication Bus.
OutputDevice,:Not used (for compatiblity only).
Volume,:Not used (for compatiblity only).
AudioFreq,:Audio Frequency
Return values:
0if correct communication, else wrong communication

Definition at line 263 of file adv7533.c.

void ADV7533_Configure ( adv7533ConfigTypeDef *  config )

Configure the DSI-HDMI ADV7533 bridge for video.

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

Definition at line 146 of file adv7533.c.

void adv7533_DeInit ( void   )

Deinitializes the adv7533.

Parameters:
None
Return values:
None

Definition at line 314 of file adv7533.c.

uint8_t ADV7533_Init ( void   )

Initializes the ADV7533 bridge.

Parameters:
None
Return values:
Status

Definition at line 100 of file adv7533.c.

void ADV7533_PatternDisable ( void   )

Disable video pattern generation.

Parameters:
none
Return values:
none

Definition at line 249 of file adv7533.c.

void ADV7533_PatternEnable ( void   )

Enable video pattern generation.

Parameters:
None
Return values:
None

Definition at line 234 of file adv7533.c.

uint32_t adv7533_Pause ( uint16_t  DeviceAddr )

Pauses playing on the audio hdmi.

Parameters:
DeviceAddr,:Device address on communication Bus.
Return values:
0if correct communication, else wrong communication

Definition at line 341 of file adv7533.c.

uint32_t adv7533_Play ( uint16_t  DeviceAddr,
uint16_t *  pBuffer,
uint16_t  Size 
)

Start the audio hdmi play feature.

Note:
For this codec no Play options are required.
Parameters:
DeviceAddr,:Device address on communication Bus.
Return values:
0if correct communication, else wrong communication

Definition at line 362 of file adv7533.c.

void ADV7533_PowerDown ( void   )

Power off the ADV7533 bridge.

Parameters:
None
Return values:
None

Definition at line 130 of file adv7533.c.

void ADV7533_PowerOn ( void   )

Power on the ADV7533 bridge.

Parameters:
None
Return values:
None

Definition at line 115 of file adv7533.c.

uint32_t adv7533_ReadID ( uint16_t  DeviceAddr )

Get the adv7533 ID.

Parameters:
DeviceAddr,:Device address on communication Bus.
Return values:
Theadv7533 ID

Definition at line 325 of file adv7533.c.

uint32_t adv7533_Reset ( uint16_t  DeviceAddr )

Resets adv7533 registers.

Parameters:
DeviceAddr,:Device address on communication Bus.
Return values:
0if correct communication, else wrong communication

Definition at line 431 of file adv7533.c.

uint32_t adv7533_Resume ( uint16_t  DeviceAddr )

Resumes playing on the audio hdmi.

Parameters:
DeviceAddr,:Device address on communication Bus.
Return values:
0if correct communication, else wrong communication

Definition at line 351 of file adv7533.c.

uint32_t adv7533_SetFrequency ( uint16_t  DeviceAddr,
uint32_t  AudioFreq 
)

Sets new frequency.

Parameters:
DeviceAddr,:Device address on communication Bus.
AudioFreq,:Audio frequency used to play the audio stream.
Return values:
0if correct communication, else wrong communication

Definition at line 442 of file adv7533.c.

uint32_t adv7533_SetMute ( uint16_t  DeviceAddr,
uint32_t  Cmd 
)

Enables or disables the mute feature on the audio hdmi.

Parameters:
DeviceAddr,:Device address on communication Bus.
Cmd,:AUDIO_MUTE_ON to enable the mute or AUDIO_MUTE_OFF to disable the mute mode.
Return values:
0if correct communication, else wrong communication

Definition at line 384 of file adv7533.c.

uint32_t adv7533_SetOutputMode ( uint16_t  DeviceAddr,
uint8_t  Output 
)

Sets output mode.

Parameters:
DeviceAddr,:Device address on communication Bus.
Output: hdmi output.
Return values:
0if correct communication, else wrong communication

Definition at line 410 of file adv7533.c.

uint32_t adv7533_SetVolume ( uint16_t  DeviceAddr,
uint8_t  Volume 
)

Sets volumee.

Parameters:
DeviceAddr,:Device address on communication Bus.
Volume: volume value.
Return values:
0if correct communication, else wrong communication

Definition at line 421 of file adv7533.c.

uint32_t adv7533_Stop ( uint16_t  DeviceAddr,
uint32_t  cmd 
)

Stop playing on the audio hdmi.

Parameters:
DeviceAddr,:Device address on communication Bus.
Return values:
0if correct communication, else wrong communication

Definition at line 372 of file adv7533.c.