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

UM1725

HAL SAI Generic Driver

50.2.21HAL_SAI_DisableTxMuteMode

Function Name

HAL_StatusTypeDef HAL_SAI_DisableTxMuteMode

 

(SAI_HandleTypeDef * hsai)

Function Description

Disable the tx mute mode.

Parameters

 

hsai: : pointer to a SAI_HandleTypeDef structure that

 

 

contains the configuration information for SAI module.

Return values

 

HAL status

50.2.22HAL_SAI_EnableRxMuteMode

Function Name

HAL_StatusTypeDef HAL_SAI_EnableRxMuteMode

 

(SAI_HandleTypeDef * hsai, SAIcallback callback, uint16_t

 

counter)

Function Description

Enable the rx mute detection.

Parameters

 

hsai: : pointer to a SAI_HandleTypeDef structure that

 

 

contains the configuration information for SAI module.

 

 

callback: : function called when the mute is detected

 

 

counter: : number a data before mute detection max 63.

Return values

 

HAL status

50.2.23HAL_SAI_DisableRxMuteMode

Function Name

HAL_StatusTypeDef HAL_SAI_DisableRxMuteMode

 

(SAI_HandleTypeDef * hsai)

Function Description

Disable the rx mute detection.

Parameters

 

hsai: : pointer to a SAI_HandleTypeDef structure that

 

 

contains the configuration information for SAI module.

Return values

 

HAL status

50.2.24HAL_SAI_IRQHandler

Function Name

void HAL_SAI_IRQHandler (SAI_HandleTypeDef * hsai)

Function Description

This function handles SAI interrupt request.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

HAL status

50.2.25HAL_SAI_TxCpltCallback

Function Name

void HAL_SAI_TxCpltCallback (SAI_HandleTypeDef * hsai)

Function Description

Tx Transfer completed callbacks.

 

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

 

Return values

 

None

 

 

 

DOCID025834 Rev 2

677/900

HAL SAI Generic Driver

UM1725

50.2.26HAL_SAI_TxHalfCpltCallback

Function Name

void HAL_SAI_TxHalfCpltCallback (SAI_HandleTypeDef *

 

hsai)

Function Description

Tx Transfer Half completed callbacks.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

None

50.2.27HAL_SAI_RxCpltCallback

Function Name

void HAL_SAI_RxCpltCallback (SAI_HandleTypeDef * hsai)

Function Description

Rx Transfer completed callbacks.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

None

50.2.28HAL_SAI_RxHalfCpltCallback

Function Name

void HAL_SAI_RxHalfCpltCallback (SAI_HandleTypeDef *

 

hsai)

Function Description

Rx Transfer half completed callbacks.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

None

50.2.29HAL_SAI_ErrorCallback

Function Name

void HAL_SAI_ErrorCallback (SAI_HandleTypeDef * hsai)

Function Description

SAI error callbacks.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

None

50.2.30HAL_SAI_GetState

Function Name

HAL_SAI_StateTypeDef HAL_SAI_GetState

 

(SAI_HandleTypeDef * hsai)

Function Description

Returns the SAI state.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

HAL state

50.2.31HAL_SAI_GetError

Function Name

uint32_t HAL_SAI_GetError (SAI_HandleTypeDef * hsai)

678/900

DOCID025834 Rev 2

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