Functions | |
HAL_StatusTypeDef | HAL_I2S_Config_Transmit (I2S_HandleTypeDef *hi2s, I2S_CFG_T *cfg) |
Set I2S transmit configures. More... | |
HAL_StatusTypeDef | HAL_I2S_Config_Receive (I2S_HandleTypeDef *hi2s, I2S_CFG_T *cfg) |
Set I2S Receive configures. More... | |
HAL_StatusTypeDef | HAL_I2S_Transmit (I2S_HandleTypeDef *hi2s, uint8_t *pData, uint32_t Size, uint32_t Timeout) |
Set I2S Transmit data with polling mode. More... | |
HAL_StatusTypeDef | HAL_I2S_Receive (I2S_HandleTypeDef *hi2s, uint8_t *pData, uint32_t Size, uint32_t Timeout) |
Set I2S receive data with polling mode. More... | |
HAL_StatusTypeDef | HAL_I2S_Transmit_IT (I2S_HandleTypeDef *hi2s, uint8_t *pData, uint32_t Size) |
Transmit an amount of data in non-blocking mode with Interrupt. More... | |
HAL_StatusTypeDef | HAL_I2S_Receive_IT (I2S_HandleTypeDef *hi2s, uint8_t *pData, uint32_t Size) |
Receive an amount of data in non-blocking mode with Interrupt. More... | |
void | HAL_I2S_IRQHandler (I2S_HandleTypeDef *hi2s) |
This function handles I2S interrupt request. More... | |
HAL_StatusTypeDef | HAL_I2S_Transmit_DMA (I2S_HandleTypeDef *hi2s, uint8_t *pData, uint32_t Size) |
Set I2S Transmit data with DMA mode. More... | |
HAL_StatusTypeDef | HAL_I2S_Receive_DMA (I2S_HandleTypeDef *hi2s, uint8_t *pData, uint32_t Size) |
Set I2S Transmit data with DMA mode. More... | |
HAL_StatusTypeDef | HAL_I2S_DMAPause (I2S_HandleTypeDef *hi2s) |
Pauses the audio stream playing from the Media. More... | |
HAL_StatusTypeDef | HAL_I2S_DMAResume (I2S_HandleTypeDef *hi2s) |
Resumes the audio stream playing from the Media. More... | |
HAL_StatusTypeDef | HAL_I2S_DMAStop (I2S_HandleTypeDef *hi2s) |
Stops the audio stream playing from the Media. More... | |
HAL_StatusTypeDef | HAL_I2S_TX_DMAPause (I2S_HandleTypeDef *hi2s) |
Pauses the audio stream playing from the Media. More... | |
HAL_StatusTypeDef | HAL_I2S_TX_DMAResume (I2S_HandleTypeDef *hi2s) |
Resumes the audio stream playing from the Media. More... | |
HAL_StatusTypeDef | HAL_I2S_TX_DMAStop (I2S_HandleTypeDef *hi2s) |
Stops the audio stream playing from the Media. More... | |
HAL_StatusTypeDef | HAL_I2S_RX_DMAPause (I2S_HandleTypeDef *hi2s) |
Pauses the audio stream recording. More... | |
HAL_StatusTypeDef | HAL_I2S_RX_DMAResume (I2S_HandleTypeDef *hi2s) |
Resumes the audio stream recording. More... | |
HAL_StatusTypeDef | HAL_I2S_RX_DMAStop (I2S_HandleTypeDef *hi2s) |
Stops the audio stream recording. More... | |
void | HAL_I2S_TxHalfCpltCallback (I2S_HandleTypeDef *hi2s) |
Tx Transfer Half completed callbacks. More... | |
void | HAL_I2S_TxCpltCallback (I2S_HandleTypeDef *hi2s) |
Tx Transfer completed callbacks. More... | |
void | HAL_I2S_RxHalfCpltCallback (I2S_HandleTypeDef *hi2s) |
Rx Transfer half completed callbacks. More... | |
void | HAL_I2S_RxCpltCallback (I2S_HandleTypeDef *hi2s) |
Rx Transfer completed callbacks. More... | |
void | HAL_I2S_ErrorCallback (I2S_HandleTypeDef *hi2s) |
I2S error callbacks. More... | |
HAL_StatusTypeDef HAL_I2S_Config_Receive | ( | I2S_HandleTypeDef * | hi2s, |
I2S_CFG_T * | cfg | ||
) |
Set I2S Receive configures.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
cfg | channel, track, volume and others parameters |
HAL | status |
HAL_StatusTypeDef HAL_I2S_Config_Transmit | ( | I2S_HandleTypeDef * | hi2s, |
I2S_CFG_T * | cfg | ||
) |
Set I2S transmit configures.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
cfg | channel, track, volume and others parameters |
HAL | status |
HAL_StatusTypeDef HAL_I2S_DMAPause | ( | I2S_HandleTypeDef * | hi2s | ) |
Pauses the audio stream playing from the Media.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
HAL_StatusTypeDef HAL_I2S_DMAResume | ( | I2S_HandleTypeDef * | hi2s | ) |
Resumes the audio stream playing from the Media.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
HAL_StatusTypeDef HAL_I2S_DMAStop | ( | I2S_HandleTypeDef * | hi2s | ) |
Stops the audio stream playing from the Media.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
void HAL_I2S_ErrorCallback | ( | I2S_HandleTypeDef * | hi2s | ) |
I2S error callbacks.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
None |
void HAL_I2S_IRQHandler | ( | I2S_HandleTypeDef * | hi2s | ) |
This function handles I2S interrupt request.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
None |
HAL_StatusTypeDef HAL_I2S_Receive | ( | I2S_HandleTypeDef * | hi2s, |
uint8_t * | pData, | ||
uint32_t | Size, | ||
uint32_t | Timeout | ||
) |
Set I2S receive data with polling mode.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
pData | data buffer |
Size | data length need to be transmit |
Timeout | time out threshold if not finish, in ms |
HAL | status |
HAL_StatusTypeDef HAL_I2S_Receive_DMA | ( | I2S_HandleTypeDef * | hi2s, |
uint8_t * | pData, | ||
uint32_t | Size | ||
) |
Set I2S Transmit data with DMA mode.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
pData | data buffer |
Size | data length need to be transmit |
HAL | status |
HAL_StatusTypeDef HAL_I2S_Receive_IT | ( | I2S_HandleTypeDef * | hi2s, |
uint8_t * | pData, | ||
uint32_t | Size | ||
) |
Receive an amount of data in non-blocking mode with Interrupt.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
pData | a 16-bit pointer to the Receive data buffer. |
Size | number of data sample to be sent: |
HAL | status |
HAL_StatusTypeDef HAL_I2S_RX_DMAPause | ( | I2S_HandleTypeDef * | hi2s | ) |
Pauses the audio stream recording.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
HAL_StatusTypeDef HAL_I2S_RX_DMAResume | ( | I2S_HandleTypeDef * | hi2s | ) |
Resumes the audio stream recording.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
HAL_StatusTypeDef HAL_I2S_RX_DMAStop | ( | I2S_HandleTypeDef * | hi2s | ) |
Stops the audio stream recording.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
void HAL_I2S_RxCpltCallback | ( | I2S_HandleTypeDef * | hi2s | ) |
Rx Transfer completed callbacks.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
None |
void HAL_I2S_RxHalfCpltCallback | ( | I2S_HandleTypeDef * | hi2s | ) |
Rx Transfer half completed callbacks.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
None |
HAL_StatusTypeDef HAL_I2S_Transmit | ( | I2S_HandleTypeDef * | hi2s, |
uint8_t * | pData, | ||
uint32_t | Size, | ||
uint32_t | Timeout | ||
) |
Set I2S Transmit data with polling mode.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
pData | data buffer |
Size | data length need to be transmit |
Timeout | time out threshold if not finish, in ms |
HAL | status |
HAL_StatusTypeDef HAL_I2S_Transmit_DMA | ( | I2S_HandleTypeDef * | hi2s, |
uint8_t * | pData, | ||
uint32_t | Size | ||
) |
Set I2S Transmit data with DMA mode.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
pData | data buffer |
Size | data length need to be transmit |
HAL | status |
HAL_StatusTypeDef HAL_I2S_Transmit_IT | ( | I2S_HandleTypeDef * | hi2s, |
uint8_t * | pData, | ||
uint32_t | Size | ||
) |
Transmit an amount of data in non-blocking mode with Interrupt.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
pData | a 16-bit pointer to data buffer. |
Size | number of data sample to be sent: |
HAL | status |
HAL_StatusTypeDef HAL_I2S_TX_DMAPause | ( | I2S_HandleTypeDef * | hi2s | ) |
Pauses the audio stream playing from the Media.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
HAL_StatusTypeDef HAL_I2S_TX_DMAResume | ( | I2S_HandleTypeDef * | hi2s | ) |
Resumes the audio stream playing from the Media.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
HAL_StatusTypeDef HAL_I2S_TX_DMAStop | ( | I2S_HandleTypeDef * | hi2s | ) |
Stops the audio stream playing from the Media.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
HAL | status |
void HAL_I2S_TxCpltCallback | ( | I2S_HandleTypeDef * | hi2s | ) |
Tx Transfer completed callbacks.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
None |
void HAL_I2S_TxHalfCpltCallback | ( | I2S_HandleTypeDef * | hi2s | ) |
Tx Transfer Half completed callbacks.
hi2s | pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module |
None |