Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
cubexHal.pdf
Скачиваний:
110
Добавлен:
10.02.2016
Размер:
16.16 Mб
Скачать

UM1725

HAL I2S Extension Driver

Send and receive an amount of data in non blocking mode (DMA) using HAL_I2S_TransmitReceive_DMA()

At transmission end of half transfer HAL_I2S_TxHalfCpltCallback is executed and user can add his own code by customization of function pointer HAL_I2S_TxHalfCpltCallback

At transmission end of transfer HAL_I2S_TxCpltCallback is executed and user can add his own code by customization of function pointer HAL_I2S_TxCpltCallback

At reception end of half transfer HAL_I2S_RxHalfCpltCallback is executed and user can add his own code by customization of function pointer HAL_I2S_RxHalfCpltCallback

At reception end of transfer HAL_I2S_RxCpltCallback is executed and user can add his own code by customization of function pointer HAL_I2S_RxCpltCallback

In case of transfer Error, HAL_I2S_ErrorCallback() function is executed and user can add his own code by customization of function pointer HAL_I2S_ErrorCallback

Pause the DMA Transfer using HAL_I2S_DMAPause()

Resume the DMA Transfer using HAL_I2S_DMAResume()

Stop the DMA Transfer using HAL_I2S_DMAStop()

33.1.3HAL_I2SEx_TransmitReceive

Function Name

HAL_StatusTypeDef HAL_I2SEx_TransmitReceive

 

(I2S_HandleTypeDef * hi2s, uint16_t * pTxData, uint16_t *

 

pRxData, uint16_t Size, uint32_t Timeout)

Function Description

 

33.1.4HAL_I2SEx_TransmitReceive_IT

Function Name

HAL_StatusTypeDef HAL_I2SEx_TransmitReceive_IT

 

(I2S_HandleTypeDef * hi2s, uint16_t * pTxData, uint16_t *

 

pRxData, uint16_t Size)

Function Description

 

33.1.5HAL_I2SEx_TransmitReceive_DMA

Function Name

HAL_StatusTypeDef HAL_I2SEx_TransmitReceive_DMA

 

(I2S_HandleTypeDef * hi2s, uint16_t * pTxData, uint16_t *

 

pRxData, uint16_t Size)

Function Description

 

33.2I2SEx Firmware driver defines

33.2.1I2SEx

DOCID025834 Rev 2

435/900

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]