| 전자부품 데이터시트 검색엔진 |
|
AN3117 데이터시트(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3117 데이터시트(HTML) 13 Page - STMicroelectronics |
|
13 / 28 page ![]() AN3117 Programming the DMA using the standard peripheral library Doc ID 16846 Rev 4 13/28 Note: PPP refers to a peripheral that supports DMA transfers, such as ADC1, DAC, USARTx (x=1...3), I2C, SPIx (x=1;2), TIMx(x=1...5) and AES. 3.1.1 Configuring the DMA channels The DMA driver provides the DMA_Init() function which can be used to configure all DMA channels. DMA_Init(DMA_Channelx. /* select Channel to be configured */ DMA_Memory0BaseAddr,/* RAM memory Base Address */ DMA_PeripheralMemory1BaseAddr, /* (case1) Peripheral base address for memory to peripheral transfer (case2) Memory base address for memory to memory transfer (this feature exist only in Channel 3 */ DMA_BufferSize, /* number of transactions */ DMA_DIR, /* Direction of the transfer */ DMA_Mode, /* simple or circular transfer. */ DMA_MemoryIncMode, /* memory increment mode */ DMA_Priority, /* software priority */ DMA_MemoryDataSize ); /* number of transfers */ Table 4 describes the DMA_lnit function parameters and their corresponding parameter types. Note: Refer to the stm8l15x_dma.h file for more details about the DMA functions and their parameters. Table 4. DMA_lnit parameters Parameter name Parameter type DMA_Channelx DMA_Channel_TypeDef DMA_Memory0BaseAddr uint16_t DMA_PeripheralMemory1BaseAddr uint16_t DMA_BufferSize uint8_t DMA_DIR DMA_DIR_TypeDef DMA_Mode DMA_Mode_TypeDef DMA_MemoryIncMode DMA_MemoryIncMode_TypeDef DMA_Priority DMA_Priority_TypeDef DMA_MemoryDataSize DMA_MemoryDataSize_TypeDef |
|
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |