поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN3117 датащи(PDF) 14 Page - STMicroelectronics

номер детали AN3117
подробное описание детали  This application note describes how to use the direct memory access
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3117 датащи(HTML) 14 Page - STMicroelectronics

Back Button AN3117 Datasheet HTML 10Page - STMicroelectronics AN3117 Datasheet HTML 11Page - STMicroelectronics AN3117 Datasheet HTML 12Page - STMicroelectronics AN3117 Datasheet HTML 13Page - STMicroelectronics AN3117 Datasheet HTML 14Page - STMicroelectronics AN3117 Datasheet HTML 15Page - STMicroelectronics AN3117 Datasheet HTML 16Page - STMicroelectronics AN3117 Datasheet HTML 17Page - STMicroelectronics AN3117 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 28 page
background image
Programming the DMA using the standard peripheral library
AN3117
14/28
Doc ID 16846 Rev 4
3.1.2
Selecting the channel request source
USARTx, SPIx, I2C1
Each communication peripheral (USARTx (x=1..3), SPIx (x=1,2) and I2C1) has two event
request sources: one for transmission (TX) and one for reception (RX).
Selection of the desired DMA request is performed by the driver of the communication
peripheral. Table 5 describes the DMA request configuration functions. Table 6 lists the
DMA channel allocation for the appropriate communication peripheral.
Note:
Refer to the stm8l15x_spi.h, stm8l15x_usart.h, and stm8l15x_i2c.h files for further details
about the SPI_DMACmd(), USART_DMACmd(), and I2C_DMACmd() functions and their
parameters.
Digital-to-analog convertor (DAC)
A DAC channel DMA request is generated when a software or hardware trigger occurs while
the trigger feature and the DAC DMA feature are enabled (using DAC_Init() and the
DAC_DMACmd() functions). The DAC channel DMA request remains set until a DAC
channel DMA acknowledge comes from the DMA controller. The DAC DMA request
indicates that DAC data holding registers have been transferred to the DAC data output
registers.
Table 5.
DMA request configuration functions from the communication peripheral
side
Peripheral
Function
Description
USARTx
USART_DMACmd()
Enables or disables the USART DMA requests. The
USARTx (x= 1...3) TX or RX requests are selected
independently.
SPIx
SPI_DMACmd()
Enables or disables the SPI DMA requests. The SPIx (x= 1,
2)TX or RX requests are selected independently.
I2C1
I2C_DMACmd()
Enables or disables the I2C DMA requests. Both I2C1 TX
and RX requests are selected.
Table 6.
Communication peripheral DMA channel allocations
Peripheral
RX request
TX request
USART1
DMA Ch.2
DMA Ch.1
USART2
DMA Ch.3
DMA Ch.0
USART3
DMA Ch.2
DMA Ch.1
SPI1
DMA Ch.1
DMA Ch.2
SPI2
DMA Ch.0
DMA Ch.3
I2C1
DMA Ch.0
DMA Ch.3



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com