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

UM1725

 

HAL DMA Extension Driver

 

DstAddress, uint32_t SecondMemAddress, uint32_t

 

DataLength)

Function Description

Starts the multi_buffer DMA Transfer with interrupt enabled.

Parameters

 

hdma: pointer to a DMA_HandleTypeDef structure that

 

 

contains the configuration information for the specified DMA

 

 

Stream.

 

SrcAddress: The source memory Buffer address

 

DstAddress: The destination memory Buffer address

 

SecondMemAddress: The second memory Buffer address

 

 

in case of multi buffer Transfer

 

DataLength: The length of data to be transferred from

 

 

source to destination

Return values

 

HAL status

17.1.5HAL_DMAEx_ChangeMemory

Function Name

HAL_StatusTypeDef HAL_DMAEx_ChangeMemory

 

(DMA_HandleTypeDef * hdma, uint32_t Address,

 

HAL_DMA_MemoryTypeDef memory)

Function Description

Change the memory0 or memory1 address on the fly.

Parameters

 

hdma: pointer to a DMA_HandleTypeDef structure that

 

 

contains the configuration information for the specified DMA

 

 

Stream.

 

Address: The new address

 

memory: the memory to be changed, This parameter can be

 

 

one of the following values: MEMORY0 / MEMORY1

Return values

 

HAL status

Notes

The MEMORY0 address can be changed only when the

 

 

current transfer use MEMORY1 and the MEMORY1 address

 

 

can be changed only when the current transfer use

 

 

MEMORY0.

17.2DMAEx Firmware driver defines

17.2.1DMAEx

DOCID025834 Rev 2

247/900

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