STM32F479xx HAL User Manual
|
Header file of I2S HAL module. More...
#include "stm32f4xx_hal_def.h"
Go to the source code of this file.
Defines | |
#define | I2SxEXT(__INSTANCE__) ((__INSTANCE__) == (SPI2)? (SPI_TypeDef *)(I2S2ext_BASE): (SPI_TypeDef *)(I2S3ext_BASE)) |
#define | __HAL_I2SEXT_ENABLE(__HANDLE__) (I2SxEXT((__HANDLE__)->Instance)->I2SCFGR |= SPI_I2SCFGR_I2SE) |
Enable or disable the specified I2SExt peripheral. | |
#define | __HAL_I2SEXT_DISABLE(__HANDLE__) (I2SxEXT((__HANDLE__)->Instance)->I2SCFGR &= ~SPI_I2SCFGR_I2SE) |
#define | __HAL_I2SEXT_ENABLE_IT(__HANDLE__, __INTERRUPT__) (I2SxEXT((__HANDLE__)->Instance)->CR2 |= (__INTERRUPT__)) |
Enable or disable the specified I2SExt interrupts. | |
#define | __HAL_I2SEXT_DISABLE_IT(__HANDLE__, __INTERRUPT__) (I2SxEXT((__HANDLE__)->Instance)->CR2 &= ~(__INTERRUPT__)) |
#define | __HAL_I2SEXT_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Checks if the specified I2SExt interrupt source is enabled or disabled. | |
#define | __HAL_I2SEXT_GET_FLAG(__HANDLE__, __FLAG__) (((I2SxEXT((__HANDLE__)->Instance)->SR) & (__FLAG__)) == (__FLAG__)) |
Checks whether the specified I2SExt flag is set or not. | |
#define | __HAL_I2SEXT_CLEAR_OVRFLAG(__HANDLE__) |
Clears the I2SExt OVR pending flag. | |
#define | __HAL_I2SEXT_CLEAR_UDRFLAG(__HANDLE__) |
Clears the I2SExt UDR pending flag. | |
#define | __HAL_I2SEXT_FLUSH_RX_DR(__HANDLE__) |
Flush the I2S and I2SExt DR Registers. | |
Functions | |
HAL_StatusTypeDef | HAL_I2SEx_TransmitReceive (I2S_HandleTypeDef *hi2s, uint16_t *pTxData, uint16_t *pRxData, uint16_t Size, uint32_t Timeout) |
Full-Duplex Transmit/Receive data in blocking mode. | |
HAL_StatusTypeDef | HAL_I2SEx_TransmitReceive_IT (I2S_HandleTypeDef *hi2s, uint16_t *pTxData, uint16_t *pRxData, uint16_t Size) |
Full-Duplex Transmit/Receive data in non-blocking mode using Interrupt. | |
HAL_StatusTypeDef | HAL_I2SEx_TransmitReceive_DMA (I2S_HandleTypeDef *hi2s, uint16_t *pTxData, uint16_t *pRxData, uint16_t Size) |
Full-Duplex Transmit/Receive data in non-blocking mode using DMA. | |
void | HAL_I2SEx_FullDuplex_IRQHandler (I2S_HandleTypeDef *hi2s) |
This function handles I2S/I2Sext interrupt requests in full-duplex mode. | |
__weak void | HAL_I2SEx_TxRxHalfCpltCallback (I2S_HandleTypeDef *hi2s) |
Tx and Rx Transfer half completed callback. | |
__weak void | HAL_I2SEx_TxRxCpltCallback (I2S_HandleTypeDef *hi2s) |
Tx and Rx Transfer completed callback. |
Header file of I2S HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f4xx_hal_i2s_ex.h.