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

UM1725

HAL SAI Extension Driver

51 HAL SAI Extension Driver

51.1SAIEx Firmware driver API description

51.1.1SAI peripheral extension features

Comparing to other previous devices, the SAI interface for STM32F446xx devices contains the following additional features :

Possibility to be clocked from PLLR

51.1.2How to use this driver

This driver provides functions to manage several sources to clock SAI

51.1.3Extension features Functions

This subsection provides a set of functions allowing to manage the possible SAI clock sources.

This section contains the following APIs:

SAI_BlockSynchroConfig()

SAI_GetInputClock()

51.1.4SAI_BlockSynchroConfig

Function Name

void SAI_BlockSynchroConfig (SAI_HandleTypeDef * hsai)

Function Description

Configure SAI Block synchronization mode.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

SAI Clock Input

51.1.5SAI_GetInputClock

Function Name

uint32_t SAI_GetInputClock (SAI_HandleTypeDef * hsai)

Function Description

Get SAI Input Clock based on SAI source clock selection.

Parameters

 

hsai: pointer to a SAI_HandleTypeDef structure that contains

 

 

the configuration information for SAI module.

Return values

 

SAI Clock Input

51.2SAIEx Firmware driver defines

51.2.1SAIEx

DOCID025834 Rev 2

687/900

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