STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
SPDIF_Tx.c File Reference
#include "main.h"
#include "AudioPlayer.h"

Go to the source code of this file.

Functions

void SPDIF_Tx_Init (void)
 Initialize the SPDIF Tx transmission, forward as SPDIF out. More...
 
void SPDIF_Tx_Start (void)
 Start the SPDIF Tx transmission, output. More...
 
void SPDIF_TX_TransferComplete_CallBack (void)
 ISR Handler for the SPDIF Tx (second buffer full) More...
 
void SPDIF_TX_HalfTransfer_CallBack (void)
 ISR Handler for the SPDIF Tx (first buffer full) More...
 

Variables

SAI_HandleTypeDef spdiftxhsai
 
uint8_t SPDIF_TX_buf [AUDIO_OUT_BUFFER_SIZE]
 

Function Documentation

void SPDIF_TX_HalfTransfer_CallBack ( void  )

ISR Handler for the SPDIF Tx (first buffer full)

Parameters
None
Return values
None

Definition at line 109 of file SPDIF_Tx.c.

void SPDIF_Tx_Init ( void  )

Initialize the SPDIF Tx transmission, forward as SPDIF out.

Parameters
None
Return values
None

Definition at line 25 of file SPDIF_Tx.c.

void SPDIF_Tx_Start ( void  )

Start the SPDIF Tx transmission, output.

Parameters
None
Return values
None

Definition at line 67 of file SPDIF_Tx.c.

void SPDIF_TX_TransferComplete_CallBack ( void  )

ISR Handler for the SPDIF Tx (second buffer full)

Parameters
None
Return values
None

Definition at line 89 of file SPDIF_Tx.c.

Variable Documentation

uint8_t SPDIF_TX_buf[AUDIO_OUT_BUFFER_SIZE]

Definition at line 18 of file SPDIF_Tx.c.